The problem of downloading the error "CondaHTTPError" when using conda to change the python version
1. Problems
Recently I was looking at an open source project. Since you need to python 3.7
change it to python 3.6
, Anaconda Prompt
enter the command in it: conda install python=3.6
. But the speed is very slow, and there is a CondaHTTPError
problem of: (because the interface has been closed, so I can't take a screenshot and report an error...)
2. Solve
Anaconda
The default mirror is official, and the access speed is very slow outside the country. Therefore, in order to speed up the access speed, it is necessary Anaconda Prompt
to set the mirror image of Tsinghua University in the command line as follows:
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
Copy it directly Anaconda Prompt
, and then execute conda install python=3.6
it, the download speed is very fast, and no error is reported. Finish!