使用conda create -n python36 python=3.6方法创建新环境,出现报错,解决方法

使用conda create -n python36 python=3.6创建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’
使用conda create -n python36 python=3.6方法创建新环境,出现报错,解决方法_第1张图片
网上指出出现这种情况的原因很多,这里提供其中一种错误原因,此时使用的conda存在于anaconda中,查看anaconda添加的环境变量是否加全
在这里插入图片描述
将D:\anaconda\anaconda3\Library\bin添加至环境变量中,重新打开命令行创建成功。

你可能感兴趣的:(python,python,conda)