anaconda报SSLError异常

anaconda报SSLError异常

问题:

anaconda新建环境或者安装包的时候,报如下的SSLError异常:
SSLError(MaxRetryError(‘HTTPSConnectionPool(host=‘repo.anaconda.com’, port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))’))

解决方案:

之前了解过http和https协议区别的朋友应该知道,在http的基础上加上ssl的证书可以达到安全性更高的https协议,所以这一块的问题,主要是证书和安全性。
步骤:

  1. 下载OpenSSL
    https://slproweb.com/products/Win32OpenSSL.html
    在这里插入图片描述下载完,直接安装完之后即可
发布了23 篇原创文章 · 获赞 6 · 访问量 1568

猜你喜欢

转载自blog.csdn.net/pentiumCM/article/details/104232437