查看安装了哪些包

1
conda list

查看当前存在哪些虚拟环境

1
conda env list

Python创建虚拟环境

1
conda create -n your_env_name python=x.x

删除虚拟环境

1
conda remove -n your_env_name --all

增加清华的镜像

1
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

查看channels是否添加/删除成功

1
conda config --show-sources

设置搜索时显示通道地址

1
conda config --set show_channel_urls yes

恢复默认镜像

1
conda config --remove-key channels

Ref

Anaconda-用conda创建python虚拟环境