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

配置环境使用

$ pip install -r requirements.txt

出现报错 

解决ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhosted._第1张图片

解决办法

$ python -m pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements.txt

你可能感兴趣的:(linux,运维,服务器)