已经下载了anaconda,但是在conda create的时候出现了
jianghao_temp@user57:/data/jh$ conda create --name Co-DETR python=3.8 -y
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/r/noarch/repodata.json.bz2>
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.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/r/noarch/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: SysCallError(104, \'ECONNRESET\')")))'))
推测和之前无法在命令行直接从网络下载文件有同样的内部问题
已经尝试的方法:
1、conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
2、关闭防火墙 :sudo ufw disable
3、禁用SSL验证: conda config --set ssl_verify no
目前都没效果,不过看到隔壁乐子神也报错还是情绪稳定了一点。。。