1、配置环境(右击此电脑—属性—高级系统设置—环境变量—系统环境变量Path)
2、anaconda管理Python环境
(1) 查看Python环境
conda info --env可以看到所有python环境,前面有个‘*’的代表当前环境:
(2).创建Python环境
conda create --name python35 python=3.5 代表创建一个python3.5的环境,我们把它命名为python35
(3).管理和使用python环境
使用 conda activate python35 来激活刚才创建的环境:
尝试使用 pip install numpy 来给这个环境安装一个常用的包:
也可以用conda install numpy来安装
(4).创建Python环境
之后我们删除python35 : conda remove -n python35 --all
over