gpt4 book ai didi

python - conda 错误 ssl 证书 : HTTPSConnectionPool(host=\'repo.anaconda.com\' , 端口=443

转载 作者:行者123 更新时间:2023-12-02 16:59:32 54 4
gpt4 key购买 nike

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

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

最佳答案

在我的例子中,我在尝试运行此命令时收到了此类错误消息

conda install tensorflow

这是错误信息

CondaSSLError:OpenSSL 似乎在此机器上不可用。下载和安装软件包需要 OpenSSL。异常:HTTPSConnectionPool(host='repo.anaconda.com', port=443): 最大重试次数超过 url:/pkgs/main/win-64/current_repodata.json (由 SSLError("无法连接到 HTTPS URL因为 SSL 模块不可用。"))

这是解决方案

步骤01

进入你的anaconda3的安装路径

installation path of anaconda3

步骤02

现在转到这个文件路径

anaconda3\Library\bin

步骤03

现在选择这个 DLL 文件并复制那个

libcrypto-1_1-x64.dll
libssl-1_1-x64.dll

步骤04

然后转到此文件路径并将其粘贴到该文件夹​​内

anaconda3\DLLs

关于python - conda 错误 ssl 证书 : HTTPSConnectionPool(host=\'repo.anaconda.com\' , 端口=443,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54773709/

54 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com