Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: could not locate libzmq for Matlab #98

Open
TIMESTICKING opened this issue Jan 27, 2022 · 5 comments
Open

RuntimeError: could not locate libzmq for Matlab #98

TIMESTICKING opened this issue Jan 27, 2022 · 5 comments

Comments

@TIMESTICKING
Copy link

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

@bastibe
Copy link
Owner

bastibe commented Jan 27, 2022

Did you install libzmq?

@pokjnb
Copy link

pokjnb commented Mar 1, 2022

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

@TIMESTICKING
Copy link
Author

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

@bastibe
Copy link
Owner

bastibe commented Apr 19, 2022

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

@pokjnb
Copy link

pokjnb commented Jul 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants