Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url
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.
'http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64'
1.windows中使用的,创建.condarc文件---目录:C:\Users\yy
(看各大神的方法无意中创建成功--不知道原理随便试~~)
(1)cmd命令中输入 conda config命令----------(cmd 没有conda命令---哭)
在 anaconda prompt(anaconda3)命令行中:
conda --version
是有输出的,cmd中输入不行,可能没配置环境吧~~~不懂,所以后续命令都在anaconda中写。
(2)vi ~/.condarc
(3)vim ~/.condarc -----(2,3貌似都是linux命令语句~~~也不行)
(4)anaconda中写 conda config --add channels mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ ------没报错,应该就是在这写conda config,然后直接复制别人的文件如下
2.打开目录下的.condarc文件进行修改----(就复制这个之后没报错~~)
channels:
- defaults
show_channel_urls: true
channel_alias: http://mirrors.tuna.tsinghua.edu.cn/anaconda
default_channels:
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
msys2: http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
bioconda: http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
menpo: http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
simpleitk: http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
Anaconda3-更换为清华源后依旧报错CondaHTTPError: HTTP 000 CONNECTION FAILED - AlexANSO - 博客园 (cnblogs.com)https://www.cnblogs.com/R-S-PY/p/12971218.html解决CondaHTTPError:HTTP 000 CONNECTION FAILED for url<https://mirrors.tuna.tsinghua.edu.cn/anaconda***_洲的学习笔记的博客-CSDN博客https://blog.csdn.net/weixin_51484460/article/details/122179000CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pk_球场书生的博客-CSDN博客https://blog.csdn.net/qq_41917697/article/details/114577787
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)