python - CondaHTTPError : HTTP 000 CONNECTION FAILED for url - Anaconda

标签 python ssl anaconda

我通过ssl_verify看到了其他帖子解决使其为假或添加证书的路径。我已经完成了其中的每一个。我已经安装并重新安装了几次anaconda。我已禁用我的防病毒程序。

我已经尝试了我在网上找到的所有选项,但没有任何东西对我有用,我仍然收到此错误。

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
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/main/win-64/current_repodata.json (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))

我不确定我应该做什么?

最佳答案

我强烈建议将 libcrypto-1_1-x64.* libssl-1_1-x64.* 从 Anaconda 文件夹中的 .\Library 复制到 Anaconda 文件夹中的 .\DLL 中。我 100% 确定您的问题将得到解决。请不要在所有平台上寻找解决方案。
不要尝试编辑 .condarc 文件并面临更多问题。我确信在按照指示移动上述 DLL 文件后问题将得到解决。 enter image description here

关于python - CondaHTTPError : HTTP 000 CONNECTION FAILED for url - Anaconda,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59023267/

相关文章:

python - Distcp 与 Hadoop 流作业

python - 如何编写 C++ 代码以使用 SWIG 在 python 提示符中打印变量值

java - 使用java从url下载文件时出现异常

testing - 具有 https 约束的功能测试路由

node.js - 将 openssl 证书加载到 Node 中

python - 如何在 python 中使用 matplotlib 更改日期格式

python - 理解python中的嵌套 yield /返回

python - 由于冲突,无法使用 anaconda 安装 geopandas

python - 降级到以前版本的 Spyder

python - 关于 Arm 处理器上的 conda 发行版/ channel 的困惑