1. 程式人生 > >轉載--【pip install error 】之ReadTimeoutError: HTTPSConnectionPool

轉載--【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不限速,爽不爽???

 

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

【原】作者:DaemonFG
來源:CSDN
原文:https://blog.csdn.net/DaemonFG/article/details/76974051
版權宣告:本文為博主原創文章,轉載請附上博文連結!