学习使我快乐!!!

ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhosted.or

是因为pip下载速度太慢了。

解决方法:换个镜像下载;或者是连手机热点

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

xxx为需要pip的包。

这个示例方法一般是临时使用的,每次记得加 -i https://pypi.doubanio.com/simple/ 即可。

 

其他镜像资源

 

posted @ 2022-03-04 10:19  yyyyyu  阅读(565)  评论(0)    收藏  举报