分享一些国内好用的python镜像源地址:

清华大学:https://pypi.tuna.tsinghua.edu.cn/simple     

阿里云:http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

华中科技大学:http://pypi.hustunique.com/

豆瓣:http://pypi.douban.com/simple  

有时会出现下面的错误:

  ERROR: Cannot unpack file C:\Users\user\AppData\Local\Temp\pip-unpack-w775cwrz\simple.html (downloaded from C:\Users\user\AppData\Local\Temp\pip-req-build-ha9ap1kd, content-type: text/html); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\user\AppData\Local\Temp\pip-req-build-ha9ap1kd

这时需要切换其它的镜像源地址就可以下载成功啦! 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐