出错:使用python 命令pip install pandas如下图:
解决方法:
python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple some-packagepip 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博客