Home  >  Article  >  Backend Development  >  What are the conda source changing commands?

What are the conda source changing commands?

小老鼠
小老鼠Original
2023-11-28 17:42:202759browse

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.

What are the conda source changing commands?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn