ipython error using matlab.engine

3 Ansichten (letzte 30 Tage)
Richard Wilkinson
Richard Wilkinson am 23 Jan. 2015
Hi, I've just installed Matlab R2014b, and am trying to use matlab.engine in ipython. I'm running Mac OS X 10.9.5 The code and error message are
In [1]: import matlab.engine /Users/pmzrdw/anaconda/bin/python.app: line 3: 6203 Segmentation fault: 11 /Users/pmzrdw/anaconda/python.app/Contents/MacOS/python "$@"
It seems to work okay in python, but not in ipython. Any ideas?
Many thanks,
Richard

Antworten (2)

Bo Li
Bo Li am 28 Jan. 2015
The document says that the engine supports the reference implementation (CPython) for Python versions 2.7 and 3.3:

Trevor
Trevor am 31 Jan. 2015
I'm also suffering from this same problem but it seems to also plague Anaconda's regular python terminal...
  1 Kommentar
Richard Wilkinson
Richard Wilkinson am 31 Jan. 2015
I fixed the problem in the end by deleting the anaconda installation of ipython and python and reinstalling everything from other sources.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Call MATLAB from Python finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by