CondaHTTPError: HTTP 000 CONNECTION FAILED for url 解决Anaconda配置python3.6环境的报错

CondaHTTPError: HTTP 000 CONNECTION FAILED for url 解决Anaconda配置python3.6环境的报错

错误原因如下:

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'

解决方法:

之前我也按百度到的什么更改成清华镜像源、把路径的https改为http,都不好使,最后通过以下方法解决。

将…\Anaconda\Library\bin目录下的libcrypto-1_1-x64.所有后辍文件和libssl-1_1-x64.的所有有后辍文件(一共四个文件,文件如下)复制到…\Anaconda3\DLL目录下即可,不要移动!复制!

CondaHTTPError: HTTP 000 CONNECTION FAILED for url 解决Anaconda配置python3.6环境的报错_第1张图片
然后再运行:

conda create --name py36 python=3.6 anaconda

就成功了!

你可能感兴趣的:(anaconda,anaconda)