You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "mainwindow.py", line 40, in
matlab = transplant.Matlab(jvm=False)
File "transplant\transplant_master.py", line 542, in init
File "transplant\transplant_master.py", line 711, in _locate_libzmq
RuntimeError: could not locate libzmq for Matlab
When I run the program in pycharm, it runs normally, but after packaging it into an exe file, the exe file cannot run normally.
Thank you very much!!!
The text was updated successfully, but these errors were encountered:
I remember that I installed the library with anaconda. I have no problem running it on pycharm, but the above problem occurs after packaging it into an exe
I tried to put libzmq.dll directly to the path of the exe file, the above error is gone, but a new error appears, it shows "error loading libzmq.dll", it prompts me to need a compiler, but I have installed MinGW, and added to PATH, I don't understand why it's not working
As you can see in the code, transplant searches for libzmq in your PATH, and in C:/Program Files/ZeroMQ*/bin (which is the default directory if you install libzmq using the official installers from http://wiki.zeromq.org/intro:get-the-software).
If Matlab can't find an appropriate compiler, try installing MinGW in Matlab's own app store thing. That seems to work relatively reliably.
Traceback (most recent call last):
File "mainwindow.py", line 40, in
matlab = transplant.Matlab(jvm=False)
File "transplant\transplant_master.py", line 542, in init
File "transplant\transplant_master.py", line 711, in _locate_libzmq
RuntimeError: could not locate libzmq for Matlab
When I run the program in pycharm, it runs normally, but after packaging it into an exe file, the exe file cannot run normally.
Thank you very much!!!
The text was updated successfully, but these errors were encountered: