我使用的是Python 3.6。当我尝试使用pip3安装“模块”时,我遇到了这个问题:

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

当前回答

只要尝试通过Anaconda提示安装即可

其他回答

目前在Windows 10上的Anaconda提示符(Anaconda3)也有同样的问题。这里是解决方案:https://github.com/ContinuumIO/anaconda-issues/issues/10576

这招对我很管用:

yum install python36-pyOpenSSL 

Python版本和包管理器可能不同。

先安装openssl。

如果你在conda环境中遇到这个问题,你可以安装openssl 使用conda install -c anaconda openssl。它为您启用ssl !

只要尝试通过Anaconda提示安装即可

我遇到了这个问题!我不小心安装了32位版本的Miniconda3。确保你选择的是64位版本!