相关疑难解决方法(0)

conda update CondaHTTPError:HTTP无

在运行中途Conda Update --all,更新停滞不前.多个包已更新.现在,当我跑步conda update --all或者conda update conda,我得到这个回应:

(C:\Users\*****\AppData\Local\Continuum\Anaconda3) C:\Users\*****>conda update conda
Fetching package metadata ...

CondaHTTPError: HTTP None None for url <None>
Elapsed: None

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.
SSLError(SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),),)
Run Code Online (Sandbox Code Playgroud)

我重复conda update conda了好几天,结果没有变化.我可以看到没有HTTP,但是conda info --a显示了频道网址.

(C:\Users\*****\AppData\Local\Continuum\Anaconda3) C:\Users\*****>conda info -a
Current conda install:

           platform …
Run Code Online (Sandbox Code Playgroud)

anaconda conda

29
推荐指数
7
解决办法
6万
查看次数

如何解决 WSL 中的“CondaHTTPError: HTTP 000 CONNECTION FAILED”错误?

我已在 Windows 10 中启用 WSL 并从 Microsoft 商店安装了 Ubuntu 20.04 LTS

要使用 meep 软件,我按照Windows 10 上的安装过程进行操作。不幸的是,当我运行以下命令时,

conda create -n mp -c conda-forge pymeep
Run Code Online (Sandbox Code Playgroud)

我收到类似的错误,

Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/conda-forge/linux-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.
'https://conda.anaconda.org/conda-forge/linux-64'
Run Code Online (Sandbox Code Playgroud)

我尝试使用以下命令禁用 ssl,

conda config --set ssl_verify no
Run Code Online (Sandbox Code Playgroud)

但没有运气。现在,如何解决这个问题?

这是命令的 --verbose 输出,

tasmia@TASMIA-PC:~/study/softwares$ …
Run Code Online (Sandbox Code Playgroud)

python conda miniconda windows-subsystem-for-linux ubuntu-20.04

6
推荐指数
1
解决办法
2万
查看次数