pip install error 在Python package下载中遇到ReadTimeoutError: HTTPSConnectionPool该怎么办

我们常用pip来更新Python的package,因为你懂的,很多人都会遇到:

ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.  

尤其是直接装Anaconda的小伙伴,更是被搞得脑阔疼。

我本来想安装virtualenv

pip install virtualenv

燃鹅[摊手]:

pip install error 在Python package下载中遇到ReadTimeoutError: HTTPSConnectionPool该怎么办_第1张图片

幸好有:

腰也不疼了,腿也不酸了。。。

传送门:https://mirrors.tuna.tsinghua.edu.cn/

(已经安利了无数次)

把源换为清华的镜像站,秒下,美滋滋!

pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ virtualenv 


你可能感兴趣的:(pip install error 在Python package下载中遇到ReadTimeoutError: HTTPSConnectionPool该怎么办)