transplant icon indicating copy to clipboard operation
transplant copied to clipboard

RuntimeError: could not locate libzmq for Matlab

Open TIMESTICKING opened this issue 3 years ago • 5 comments

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

TIMESTICKING avatar Jan 27 '22 12:01 TIMESTICKING

Did you install libzmq?

bastibe avatar Jan 27 '22 14:01 bastibe

@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?

pokjnb avatar Mar 01 '22 02:03 pokjnb

no, i give up this way, instead, MatLab official provides package matlab.engine for python, so i'd use that.

TIMESTICKING avatar Apr 17 '22 15:04 TIMESTICKING

You need to install libzmq, either with their official installer, or through conda, or by putting the library on PATH otherwise.

bastibe avatar Apr 19 '22 06:04 bastibe

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

pokjnb avatar Jul 05 '22 08:07 pokjnb