CondaHTTPError: HTTP 000 CONNECTION FAILED for url 错误解决办法

在配置anoconda环境时,如果遇到CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64。。。此种问题,需要改一个配置文件,原因是原指向官网访问不了,需要改成国内的镜像站,如下:

文件位置通过在运行中 输入%HOMEPATH%,打开后修改condarc文件。替换如下:

channels:
  
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
 
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
 
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/

show_channel_urls: true

猜你喜欢

转载自blog.csdn.net/qq_23158477/article/details/105591636