我需要安装matlabengine for Python来调用Python函数
我尝试了“帮助”中的步骤
我用的是matlab2015a
我跑不动了设置.py从命令行
在他们让我找到的帮助说明中设置.py在这个方向上:C:\Program Files\MATLAB\MATLAB Production Server\R2015a\matlabroot\extern\engines\python
but when I searched on matlab dir I found it on this dir :
C:\Program Files\MATLAB\MATLAB Production Server\R2015a\extern\engines\python
我用这两个代码从CMD安装这个引擎(作为管理员)
^{pr2}$
我试过Python27和Python34
问题就在这里
对于64位版本,当我在python setup.py install上使用“Python”时,CMD返回错误
错误是:
“python”无法识别为内部或外部命令
然后我试过了设置.pyinstall它返回以下错误:SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
当我用Python 32位代码尝试这两种代码时,它返回:error: 32bit python does not work with 64bit MATLAB. Please check your version of Python