转载--【pip install error 】之ReadTimeoutError: HTTPSConnectionPool

常用pip来更新Python的package,经常出现揪心的红色错误信息

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

主要问题:默认的源不稳定导致

解决方案:切换稳定可靠的源

(清华的镜像站)传送门:https://mirrors.tuna.tsinghua.edu.cn/   

以pandas库为例:pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ pandas

直接由2G时代跨入4G不限速,爽不爽???

扫描二维码关注公众号,回复: 4003104 查看本文章

---------------------------------------------------------------

【原】作者:DaemonFG
来源:CSDN
原文:https://blog.csdn.net/DaemonFG/article/details/76974051
版权声明:本文为博主原创文章,转载请附上博文链接!

猜你喜欢

转载自www.cnblogs.com/hightech/p/9937636.html