创建虚拟环境
conda create -n your_env_name python=X.X(2.7、3.6等)
,创建名称为your_env_name,python版本为X.X的虚拟空间,创建的虚拟空间文件在Anaconda安装目录下的envs中
删除虚拟环境
conda remove -n your_env_name --all
激活虚拟环境
conda activate your_env_name
关闭虚拟环境
conda deactivate your_env_name
检查python版本
python --version
在虚拟环境中安装包
conda install -n your_env_name [package]
删除虚拟环境中的包
conda remove --name your_env_name package_name
查看所有的虚拟环境
conda info -e