Anaconda env设置(不同Python版本)
2018-05-15 本文已影响0人
FlashXT
1.查看已有环境: conda info -e / conda env list

2.创建新环境 :conda create -n env-name python=X.X(版本)

3.激活新环境: activate python2.7

注:也可以先创建环境(conda create -n python2.7),然后激活环境后(activate python2.7),再安装python(conda insatll python =2.7);
4.移除环境:先注销环境:deactivate,再移除环境conda remove -n python2.7 --all;
