CondaHTTPError: HTTP 000 CONNECTION FAILED for url error solution

When configuring the anoconda environment, if you encounter CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64. . . For this kind of problem, a configuration file needs to be changed. The reason is that the original link to the official website cannot be accessed, and it needs to be changed to a domestic mirror station, as follows:

The location of the file is modified by entering %HOMEPATH% during operation, and then modifying the condarc file after opening. Replace as follows:

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

Guess you like

Origin blog.csdn.net/qq_23158477/article/details/105591636