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
燃鹅[摊手]:
幸好有:
传送门:https://mirrors.tuna.tsinghua.edu.cn/
(已经安利了无数次)
把源换为清华的镜像站
- pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ virtualenv