ipython error using matlab.engine

1 次查看(过去 30 天)
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

回答(2 个)

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

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call MATLAB from Python 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by