微慑信息网

python安装requests报错Cannot fetch index base URL

[email protected]:/home# pip install requests
Downloading/unpacking requests
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement requests
No distributions at all found for requests
Storing complete log in /root/.pip/pip.log

解决:

pip install requests -i https://pypi.python.org/simple

pip install requests -i https://pypi.douban.com/simple

 

 

本文标题:python安装requests报错Cannot fetch index base URL
本文链接:
(转载请附上本文链接)
http://vulsee.com/archives/vulsee_2018/1224_7265.html
转载请附本站链接,未经允许不得转载,,谢谢:微慑信息网-VulSee.com » python安装requests报错Cannot fetch index base URL
分享到: 更多 (0)

评论 抢沙发

评论前必须登录!

 

微慑信息网 专注工匠精神

访问我们联系我们