所用平台:Win10
在Anaconda Prompt中输入如下命令:
conda create -n TensorFlow1.8 python=3.5
创建新环境时,报错如下:
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’

在Win10系统中使用Anaconda创建新环境时遇到CondaHTTPError,尝试多种网络解决方案无效。通过切换到清华大学的Anaconda镜像源,更新.condarc文件配置,成功解决了HTTP 000 CONNECTION FAILED错误,从而能够正常创建Anaconda环境。

7456

被折叠的 条评论
为什么被折叠?



