Anaconda中使用虚拟环境

conda create -n py33 python=3.3 anaconda

  Here the folders are created by default in Anaconda\envs, so you need to set the PATH as:

set PATH=C:\Anaconda\envs\py33\Scripts;C:\Anaconda\envs\py33;%PATH%

如果没有设置环境变量,则必须切换到目录下运行。

  Now it should work in the command window:

activate py33

  This the windows equivalent to the code that normally appears in the tutorials for Mac and Linux:$ source activate py33

posted @ 2015-11-09 18:49  Rayvin  阅读(1224)  评论(0编辑  收藏  举报