conda常用命令汇总
配置conda镜像源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
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/r
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
conda常用命令
conda create -n test python=3.8
conda activate test
pip install xxx
conda install xxx
pip uninstall xxx
conda uninstall xxx
conda deactivate
conda env remove --name test
pip freeze > requirements.txt
pip install -r requirements.txt
conda create --name 新环境名 --clone 旧环境名
conda查看环境
conda env list
conda activate test
conda list