不安全请求警告:在使用PIP构建docker映像以安装请求组件时发出未经验证的HTTPS请求

2024-09-29 19:19:10 发布

您现在位置:Python中文网/ 问答频道 /正文

不安全的请求警告:正在发出未经验证的HTTPS请求-正在构建docker映像以使用PIP安装请求组件

cmd pip安装--可信主机pypi.python.org--可信主机files.pythonhosted.org--可信主机pypi.org\ 请求\

错误: 收集请求 /usr/share/python wheels/urlib3-1.24.1-py2.py3 none any.whl/urlib3/connectionpool.py:849:unsecureRequestWarning:正在发出未经验证的HTTPS请求。强烈建议添加证书验证。见:https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings /usr/share/python wheels/urlib3-1.24.1-py2.py3 none any.whl/urlib3/connectionpool.py:849:unsecureRequestWarning:正在发出未经验证的HTTPS请求。强烈建议添加证书验证。见:https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings


Tags: pyhttpsorgpypinoneshareusrpy3

热门问题