[Solved] CondaHTTPError: HTTP 000 CONNECTION FAILED for url

conda error:  CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://nanomirrors.tuna.tsinghua.edu.cn/anaconda/cloud/linux-64/rpodata.json> Elapsed: –

 

1. delete part of the channels configuration file

However, there is still a problem, cat ~/.condarc.bak and the url seems fine

2. vim ~/.condarc

Found an extra line ssl_verify: true

Oh, so I need the ssl certificate. Just change the https to http

3. Then test it conda install lxml

Collecting package metadata (current_repodata.json): done

Solving environment: done ## Package Plan ##

Done!

Similar Posts: