Python 使用pip install 时报错(WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, )
•
Python
出错:使用python 命令pip install pandas如下图:

解决方法:
python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple some-package pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
此时运行 pip install pandas 成功。
参考一:关于Python3中的WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=’pypi.org’, port=443): – 爱码网
参考二:
Python学习:解决pip总是WARNING: Retrying (Retry(total=4…-CSDN博客
本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/df0e825d88.html
