maya2016执行get-pip.py出错解决办法

我们在给mayaapi.exe安装pip时,会遇到执行错误:

原因可能pypi不能发放TLS证书,电脑得不到回应,所以响应超时导致执行失败。

在这里我们不使用get-pip.py,编译安装pip,具体可以参考上一篇博客,

编译安装完成之后

管理员运行CMD

"C:\Program Files\Autodesk\Maya2016\bin\mayapy.exe" -m pip install IPyvolume -i https://pypi.tuna.tsinghua.edu.cn/simple

结果报错:

 

仍然提示更新python版本,在这里不用理他,我们只需要安装tornado4.0.0即可,仍然使用清华源

"C:\Program Files\Autodesk\Maya2016\bin\mayapy.exe" -m pip install tornado==4.1 -i https://pypi.tuna.tsinghua.edu.cn/simple

如图安装成功:接下来我们可以试着安装一个第三方库:

"C:\Program Files\Autodesk\Maya2016\bin\mayapy.exe" -m pip install IPyvolume -i https://pypi.tuna.tsinghua.edu.cn/simple

 执行成功:

快去试试吧!!

发布了56 篇原创文章 · 获赞 1 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_41363156/article/details/103942006