What does MATLAB python engine fail to load from within Spyder or after certain other modules loaded?
2 ビュー (過去 30 日間)
古いコメントを表示
I am running MATLAB 2015a and Python 3.4.3 (installed via Anaconda) on Linux (Redhat 4.4.7-1). I have installed the MATLAB engine for Python and when running Python from the terminal, I can import and use the engine. However, if I try to import the engine from within Spyder, I get the following error: "ImportError: No module named 'matlabengineforpython3_4'" . Also, from Python running in a terminal, if I first import scipy.io and then matlab.engine, I get the same error.
0 件のコメント
回答 (1 件)
Bo Li
2016 年 12 月 9 日
Looks like conflict of libraries, maybe running Python with verbose mode (python -vvv) can provide more details.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Call MATLAB from Python についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!