【问题标题】:conda error ssl certificate : HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443conda 错误 ssl 证书:HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443
【发布时间】:2019-02-19 19:35:34
【问题描述】:

无论我做什么我都会得到这个错误

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 并根据建议做了任何事情,但这个问题仍然存在。 视窗 10 C:\Users\MyPc>anaconda --version anaconda 命令行客户端(1.7.2 版) C:\Users\MyPc>conda --version 康达 4.5.12

【问题讨论】:

标签: python openssl anaconda ssl-certificate conda


【解决方案1】:

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

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-01-01
    • 2017-09-04
    • 2021-10-28
    • 2020-01-19
    • 2020-10-31
    • 1970-01-01
    • 2019-09-08
    相关资源
    最近更新 更多