查看当前已经安装的python环境
conda env list
创建 python 虚拟环境
conda create -n test # test 为虚拟环境名
指定 python 版本为 3.6
conda create -n test python=3.6
激活虚拟环境
activate test
假如想安装 numpy 包
conda install numpy
或者:
pip install numpy
未激活虚拟环境
conda install -n test numpy
退出当前虚拟环境
deactivate
删除虚拟环境
conda remove -n test --all