小编Imr*_*lla的帖子

警告:pip 配置了需要 TLS/SSL 的位置,但是 Python 中的 ssl 模块不可用

我正在使用 Kali Linux 2020.1,我安装了 Python3.7,然后在尝试使用 pip3 命令安装模块后,我不断收到此错误消息。

  WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
    ERROR: Could not find a version that satisfies the requirement flask (from versions: none)
    ERROR: No matching distribution found for flask

    Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not …
Run Code Online (Sandbox Code Playgroud)

python ssl pip kali-linux

9
推荐指数
1
解决办法
4万
查看次数

标签 统计

kali-linux ×1

pip ×1

python ×1

ssl ×1