最近在conda下 新建 python环境 时候 然后出现上述问题,一直新建不了,查询得到的换源啦,https改为http等都没有work,很奇怪,这个时候找到stackflow上解法,简单粗暴好用。
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.
亲测 win10 上非常有效!
方法简单粗暴:
将conda目录下 Library 下 libssl.lib 和 libcrypto.lib 两个文件 拷贝到 conda目录下的 DLLs 文件夹下即可!
然后很快啊!就好了
感谢stackflow,有小伙伴要是知道原理欢迎评论!
https://*.com/questions/59023267/condahttperror-http-000-connection-failed-for-url-anaconda