创建新的 conda 环境时 HTTP 000 连接失败

创建新的 conda 环境时 HTTP 000 连接失败

我正在尝试conda用以下代码创建环境:

(base) C:\Users\huy>conda create -n pyenv python=3.8

然后我收到这个错误:

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'

我不知道为什么会出现这个错误。是不是因为我使用公司网络,所以它不允许这些连接?

我找到了一些关于关闭的答案ssl_verify,但我不想这样做。

conda config --set ssl_verify no

相关内容