当前位置:   article > 正文

Python 使用pip install 时报错(WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, )_installing package 'public.. warning: retrying (re

installing package 'public.. warning: retrying (retry(total=4, con...

出错:使用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博客

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/199030
推荐阅读
相关标签
  

闽ICP备14008679号