python安装matlab库_安装用于Python的MATLAB引擎

我需要安装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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值