The conda source changing commands are: 1. Change the conda software source to the Tsinghua University mirror station: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ ;conda config --set show_channel_urls yes; 2. Change the conda software source to the USTC mirror station, etc.
The operating system for this tutorial: Windows 10 system, Python version 3.11.4, Dell G3 computer.
Commonly used conda source changing commands include the following:
1. Change the conda software source to the Tsinghua University mirror station:
conda config --add channels https:/ /mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
2. Change the conda software source to the USTC mirror station:
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
3. Change conda The software source is the mirror station of Huazhong University of Science and Technology:
conda config --add channels https://mirrors.hust.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
4. Restore the default software source:
conda config --remove-key channels
These commands can help you change the conda software source to a domestic mirror station , to speed up package downloading and improve installation efficiency. According to your network environment and needs, select the appropriate mirror station and use the corresponding commands to change the conda software source.
The above is the detailed content of What are the conda source changing commands?. For more information, please follow other related articles on the PHP Chinese website!