transplant
transplant copied to clipboard
RuntimeError: could not locate libzmq for Matlab
after running this
transplant.Matlab()
error comes up
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\program files\python37\lib\site-packages\transplant\transplant_master.py", line 542, in __init__
msgformat, zmq_address, self._locate_libzmq()
File "c:\program files\python37\lib\site-packages\transplant\transplant_master.py", line 711, in _locate_libzmq
raise RuntimeError('could not locate libzmq for Matlab')
RuntimeError: could not locate libzmq for Matlab
what causes it plz? i'm using windows 10 and py3.7 and matlab2021b
Did you install libzmq?
@TIMESTICKING you havent install libzmq . I found that 'pip installing zmq' not include 'libzmq' maybe need to install zeromq alone. I am windows 10 too, and I failed, it seems not support windows system... any progress of you?
no, i give up this way, instead, MatLab official provides package matlab.engine for python, so i'd use that.
You need to install libzmq, either with their official installer, or through conda, or by putting the library on PATH otherwise.
no, i give up this way, instead, MatLab official provides package matlab.engine for python, so i'd use that.
well, matlab.engine is an option, but still not easy to use especially comes to parameter types and mix debug in IDE. I choose to wrap up the .m file as a DLL to use which makes it work but also bothered by parameter types issues