Running pymatlab on my machine results in
Exception AttributeError: "'MatlabSession' object has no attribute 'engine'" in > ignored
after the command session = pymatlab.session_factory()
is run.
How to fix this problem has been discussed already here:
It looks like one line of code in the sessionfactory.py
script in the pymatlab module has to be changed in a minor way. The problem I have is that the pymatlab module which is installed on my machine is in .egg form and it doesn't look like it is possible to change the code directly with a text editor. Any suggestions on how to do that?
Thanks
If you use easy_install
, check How do I forbid easy_install from zipping eggs?
If you prefer pip
(and you probably should ), check pip: “Editable” Installs , ie
pip install -e pymatlab
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.