关注公众号:52phm,学PHM不迷路
下载超时:pip.ReadTimeoutError:HTTPSConnectionPool: Read timed out.
文章来源于:http://www.52phm.cn/blog/detail/27
报错信息
在安装Python模块包的时候,常常会因为各种原因下载失败,其中类似使用国外镜像下载、或者网速环境差的话,很容易会下载超时而失败。
报错信息如下
pip.ReadTimeoutError:HTTPSConnectionPool: Read timed out.
解决方法
可以通过设置延长下载响应时间,来尽可能避免发生这个问题,但更多建议更换镜像或在网速好的情况,再进行会更好。
pip --default-timeout=1000 install -U matplotlib
关注公众号:52phm,学PHM不迷路