我搜索了整个互联网。 1.我安装了64位2014玛雅,我安装了32位python,安装在c:\ python27上。正如你所知,maya安装了自己的python并与之合作,我想改变它,让maya与我自己的python一起工作安装在C盘。更改python安装for maya
我做了什么? 1.我改变了python,首先unisoulled,然后安装64位版本,我复制cv2.pyd到它的网站包,并且还安装了matplotlib,scipy,pandas,numpy。我在pycharm中的代码工作得很好,但maya会给出错误。 2.我改变了mayas python路径环境,但maya仍然使用自己安装的python而不是指向我的。
import sys
print sys.platform
print sys.version
print sys.prefix
print sys.path
在Maya
告诉我,它的使用Python 2.7.3,而我想指出这是在c盘蟒是2.7.8 ..什么?我怎样才能使玛雅与其他Python工作
看看http://stackoverflow.com/questions/14656593/how-do-i-change-the-python-version-in-maya-2013 – Achayan
我已经检查过这个链接,并且应用了它建议,但后,我得到的是不同的路径,当在写打印sys.prefix是c:\ python27,但如果我检查python版本它仍然显示2.7.3这是maya的内部python版本,它也给加载库已经存在那里... – AbdulMueed
[This](https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/Maya/files/Python-Python- from-an-external-interpreter-htm.html)来自Autodesk的文档,但看起来这只适用于运行Maya Standalone时。 – fredrik