python - Conda virtual envinment not changing under Windows -
i have installed anaconda 2.2.0 windows , created virtual environment via:
> conda create -n my-env anaconda
the environment sucessfully created , see in list of envinronments (and indeed directory there in anaconda\envs..)
> conda info -e # conda environments: # my-env d:\anaconda\envs\my-env root * d:\anaconda
however, when running activate.bat script switch envinronment, although appears successful switch isn't made:
> activate.bat my-env activating environment "astropy-dev"... > conda list -e # conda environments: # my-env d:\anaconda\envs\my-env root * d:\anaconda
with *
indicating active environment.
i have seen issues conda activate on windows haven't found sepecific issue.
for further info: looking copy whole anaconda package distribution , install dev version on 1 package.
thanks.
if using powershell, activate
not support it. need modify path manually, or else use cmd shell.
Comments
Post a Comment