CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/curre

博客内容描述了在使用Anaconda时遇到的HTTP连接失败问题,原因是Anaconda搜索OpenSSL DLL文件的位置不正确。解决方案是将DLL文件从Anaconda的Libraryin目录复制到DLLs目录下,具体涉及libcrypto-1_1-x64.*和libssl-1_1-x64.*两个文件。此方法成功解决了问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>

anacona 出现错误。

简单办法,work。

Never mind. I found the solution in another thread. Copying here so it helps anyone else who lands up here:

D:\Anaconda3\DLLs_ssl.pyd search for the OpenSSL DLLs but in the wrong/current location!
As they are not found the search goes to C:\Windows\System32 where we have the same DLLs, installed by an other application, but with a different version. :-(

The DLLs delivered by Anaconda3 are located here:
D:\Anaconda3\Library\bin

My workaround:
I have copied the following files

libcrypto-1_1-x64.*
libssl-1_1-x64.*
from D:\Anaconda3\Library\bin  to  D:\Anaconda3\DLLs.

And it works as a charm!

 

https://github.com/conda/conda/issues/9746

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值