ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhosted.or

Posted mask哥

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhosted.or相关的知识,希望对你有一定的参考价值。

错误异常分析:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.or 原因是安装flask框架模块,必须增加flask模块到requirements.txt中,因此执行如下命令:

python -m pip install -r requirements.txt

然后执行:pip install flask  安装成功

以上是关于ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhosted.or的主要内容,如果未能解决你的问题,请参考以下文章

ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问

解决:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。

ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。错误记录

解决K8s报错:Error: error installing: the server could not find the requested resource

pip install yaml报错ERROR:Could not find a version that satisfies the requirement yaml

ERROR: Could not install packages due to an EnvironmentError 加--user 也无效的情况