URL because the SSL module is not available


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 HTT
PS URL because the SSL module is not available.”)) - skipping

conda找错了openssl的地址,conda在Anaconda\DLLs目录下寻找openssl的dll文件,但实际上需要的dll在Anaconda3\library\bin目录下。因此只需要将这两个文件复制到 Anaconda\DLLs下即可。

如果有安装conda环境,将文件拷贝到相应的环境dlls目录下
例如 D:\conda\envs\py37\DLLs

D:\Anaconda\Library\bin -> D:\Anaconda\DLLs

URL because the SSL module is not available_第1张图片

你可能感兴趣的:(ssl,pip)