问题描述:
使用Anaconda3 pip安装第三方模块时报错,信息如下:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https:*******: There was a problem confirming the ssl certificate:
Can't connect to HTTPS URL because the SSL module is not available. - skipping
解决方法:
(1)将D:\Anaconda3\pkgs\openssl-1.1.1k-h2bbff1b_0\Library\bin添加到系统环境变量。
(2)重新打开cmd窗口,输入安装命令,成功。