相关疑难解决方法(0)

使用pip3安装软件包时,"Python中的SSL模块不可用"

我已成功在本地计算机上安装Python 3.4和Python 3.6,但无法安装包pip3.

执行时pip3 install <package>,我收到以下与SSL相关的错误:

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting <package>
  Could not fetch URL https://pypi.python.org/simple/<package>/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
  Could not find a version that satisfies the requirement <package> (from versions: )
No matching distribution found for <package>
Run Code Online (Sandbox Code Playgroud)

如何修复我的Python3.x安装,以便我可以安装包pip install …

python ssl pip

75
推荐指数
16
解决办法
15万
查看次数

标签 统计

pip ×1

python ×1

ssl ×1