Reputation: 124
Good day all, I tried to install the plotly package on my new work laptop (Windows 10) with the following code:
conda install -c plotly plotly
and I encountered the following error:
Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/plotly/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.
'https://conda.anaconda.org/plotly/win-64'
I have tried the following:
conda config --set ssl_verify no
conda config --set ssl_verify false
Interestingly, I was unable to find current_repodata.json file in https://repo.anaconda.com/pkgs/main/win-64/.
Does anyone know how do I create this current_repodata.json file?
Thank you!
Upvotes: 2
Views: 7938
Reputation: 391
Are you in a corporate network behind a proxy? This issue looks to me like you don't have connection to the internet and your proxy is blocking the connection to https://conda.anaconda.org/plotly/win-64/current_repodata.json
Please try this guide to use conda behind a proxy: https://docs.anaconda.com/anaconda/user-guide/tasks/proxy/
Upvotes: 1
Reputation: 11
I faced similar problems and tried the above options to my dismay. But somewhere on the internet I had read an answer about using VPN and try different servers and then install using conda. This seems to work for me now. Thanks.
Upvotes: 1