conda错误ssl证书:HTTPSConnectionPool(host = \'repo.anaconda.com \',port = 443

时间:2019-02-19 19:35:34

标签: python openssl anaconda ssl-certificate conda

无论我做什么我都会收到此错误

C:\Users\MyPc>conda update --all
Solving environment: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/free/win-64/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))

我已经搜索了所有互联网,重新安装了anaconda,并根据建议进行了任何操作,但此问题仍然存在。     Windows 10     C:\ Users \ MyPc> anaconda --version         anaconda命令行客户端(版本1.7.2)     C:\ Users \ MyPc> conda --version         康达4.5.12

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,而对我来说解决的问题是安装了较早的32位Conda版本。由于某种原因,较新的64位版本似乎容易出现此错误。您可以在此处找到早期版本的Conda:

https://repo.continuum.io/archive/

您应该搜索仅具有x86而不是x86_64的Anaconda3版本。