Reputation: 317
After a clean install of python 3.7.11 with miniconda, tried to install pandas but failed:
(base) C:\Users\jisib>conda install pandas
Collecting package metadata (current_repodata.json): failed
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.
'https://repo.anaconda.com/pkgs/main/win-64'
I'm quite new to python so likely a very basic error :). anaconda.com is not blocked (https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json isn't either)
Tried creating an environment first but also failed:
(base) C:\Users\jisib>conda create --name myenv2022_03
Collecting package metadata (current_repodata.json): done
Solving environment: done
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.
'https://repo.anaconda.com/pkgs/main/win-64'
Thank you for your help!
Upvotes: 5
Views: 12888
Reputation: 1
For me, removing the environment variable SSLKEYLOGFILE
on Windows worked.
Upvotes: 0
Reputation: 133
Just copy these:-
libcrypto-1_1-x64.dll
libssl-1_1-x64.dll
from C:\Anaconda3\Library\bin to C:\Anaconda3\DLLs.
Upvotes: 5
Reputation: 240
the error comes from new SSL policy.
To ignore SSL verification and try to install pandas
conda config --set ssl_verify false
or Anaconda Prompt
set SSL_NO_VERIFY=1
Upvotes: 3
Reputation: 356
Have you tried using the pip installer, or installing using the Anaconda Prompt? To install using pip, after creating the virtual environment, open a terminal console and try that:
source activate [name of virtual environment]
pip install pandas
Upvotes: -1