Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CondaHTTPError: HTTP 000 CONNECTION FAILED for url - Anaconda

I have seen other post solving through ssl_verify making it false or adding the path of the certificate. I have done every one of them. I have installed and reinstalled several times the anaconda. I have disabled my antivirus program.

I have tried every option that I find online but nothing is working for me and I still get this error.

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."))'))

I'm not sure what I'm should be doing?

like image 788
Betül Avatar asked Oct 20 '25 03:10

Betül


2 Answers

I strongly recommend to copy libcrypto-1_1-x64.* libssl-1_1-x64.* from .\Library in Anaconda folder to .\DLL in Anaconda folder. I'm 100% sure that your problem will be solved. Please don't crack your heads looking for solution on all the platforms. Don't try editing .condarc file and face further issues. I am sure that problem will be solved after moving the above mentioned DLL files as directed.enter image description here

like image 136
Japesh Methuku Avatar answered Oct 21 '25 17:10

Japesh Methuku


I'm getting the same problem in Windows Subsystem for Linux (version 2) with "conda create -name sx python=3.7" the weird thing is "wget https://repo.anaconda.com/pkgs/main/linux-64/current_repodata.json" works fine, so I have no idea why conda is failing to fetch this file...

like image 36
Chris Avatar answered Oct 21 '25 18:10

Chris



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!