【发布时间】:2021-01-09 07:02:21
【问题描述】:
这是我在 python 虚拟环境中执行 pip install flask 后遇到的错误
警告:pip 配置了需要 TLS/SSL 的位置,但是 Python 中的 ssl 模块不可用。 收集瓶 警告:在连接被 'SSLError("Can't connect to HTTPS URL because the SSL module is not available. “)”:/简单/烧瓶/ 警告:在连接被 'SSLError("Can't connect to HTTPS URL because the SSL module is not available. “)”:/简单/烧瓶/ 警告:在连接被 'SSLError("Can't connect to HTTPS URL because the SSL module is not available. “)”:/简单/烧瓶/ 警告:在连接被 'SSLError("Can't connect to HTTPS URL because the SSL module is not available. “)”:/简单/烧瓶/ 警告:在连接被 'SSLError("Can't connect to HTTPS URL because the SSL module is not available. “)”:/简单/烧瓶/ 无法获取 URL https://pypi.org/simple/flask/:确认 ssl 证书时出现问题:HTTPSConnectionPool(host='pypi.org', port=443):最大重试次数超出了 url:/simple/flask/(由 SSLError(“Can '不连接到 HTTPS URL,因为 SSL 模块不可用。")) - 跳过 错误:找不到满足烧瓶要求的版本(来自版本:无) 错误:没有为烧瓶找到匹配的分布
【问题讨论】:
-
欢迎来到 Stack Overflow。请阅读如何问好questions。我们如何为您提供帮助?您是在寻求安装帮助还是在寻求调试问题?能说的具体点吗?