pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.or
Posted 路痴队长
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.or相关的知识,希望对你有一定的参考价值。
问题场景:
在用pip install y:emailgetcontentdailycapacitychartpkgspypiwin32-223-py3-none-any.whl安装时出现:pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Read timed out.
大致的意思就是请求安装源(我的源已下载到本地)超时。
解决方案:设置延长默认超时时间 pip install --default-timeout=1000 y:emailgetcontentdailycapacitychartpkgspypiwin32-223-py3-none-any.whl
总结:修改默认超时时间进行安装,缺点就是安装起来会很慢(虽然我已经把安装包下载到本地了)
以上是关于pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.or的主要内容,如果未能解决你的问题,请参考以下文章