1

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:

Running MATLAB from Python

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

Community
  • 1
  • 1
Kokolx
  • 31
  • 2

1 Answers1

0

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, i.e.

pip install -e pymatlab
Community
  • 1
  • 1
kqw
  • 17,649
  • 11
  • 61
  • 92