查看已有虚拟环境
conda env list
新建虚拟环境
conda create -n tf2.1(虚拟环境名) python=3.6(Python版本)
激活虚拟环境
# Linux
source activate tf2.1
## windows
activate tf2.1
退出虚拟环境
# Linux
source deactivate
# window
deactivate
虚拟环境中安装包
conda -n tf2.1 包名
删除虚拟环境
conda remove -n 虚拟环境名 --all
删除环境中包
conda remove --name 虚拟环境名 包名