Introduction
- A tool for python environment.
Command
conda list
conda update conda
conda install python
conda info -e
conda activate environment
conda deactivate
conda remove -n environment --all
conda env export -n environment > environment.yml
conda env create -n environment -f environment.yml
conda config --show
conda config --remove-key channels
conda config --show-sources
conda clean -p
conda clean -y --all
Tsinghua Source
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/
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