pip (1)


阿里云ECS python pip安装组件失败解决办法

最近使用阿里云写一些python服务,pip安装的时候经常出现下面情况:

Downloading/unpacking uwsgi
  Cannot fetch index base URL https://pypi.python.org/simple/
  Could not find any downloads that satisfy the requirement uwsgi
Cleaning up...
No distributions at all found for uwsgi
Storing debug log for failure in /home/sickworm/.pip/pip.log

解决办法是:

多试几次。

连续执行两次,第一次失败,第二次成功。或你可以试试删除个人目录下的.pip文件夹。

版权所有,转载请注明出处:

http://sickworm.com/?p=130