安装pandas库出现ReadTimeoutError

2020-07-21  本文已影响0人  正在学习的Yuki

python 安装pandas库

出现ReadTimeoutError:

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

原因

安装太慢,超时

解决

方案1:挂VPN
方案2:加--default-timeout=100 等待,即

pip install --default-timeout=100 pandas

参考来源:https://stackoverflow.com/questions/43298872/how-to-solve-readtimeouterror-httpsconnectionpoolhost-pypi-python-org-port

上一篇 下一篇

猜你喜欢

热点阅读