New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to deactivate an environment using Windows? #344
Comments
On Windows, due to the lack of the deactivate command, you type:
Note that |
Hi! New, experimenting user, here.
and I remain stuck in the Anaconda-created environment. |
Another new user with the same issue. Once I've activated an environment I'm un-able to deactivate or activate root.
I'm on Win7 x64 with a 32-bit installation of Anaconda 1.7 updated to 1.8 via conda. |
Just installed anaconda in win7, to deactivate i use |
According to the Anaconda documentation, you should just type:
I just tried it, works fine. |
I'm running into these issues right now as well. No idea what on earth is going on. See my StackExchange question for more details. Bottom line, I my computer "find" |
Hello, @u2berggeist. I'm running the exact same issue now. It is solved when I update my Conda. However, it is happened again in one of my env after updating some Conda package in that environment. I found the culprit was in the path that contained in activate, activate.bat, deactivate, deactivate.bat'script and other scripts as well within Script folder in your environment folder. Here is the examples path from conda and conda.bat in 'python2env' environment in which conda command is working from my C:\Users\myusername\Miniconda3\envs\python2env\Scripts folder conda.bat And this one from 'python35' env ins which conda command is not working anymore from my C:\Users\myusername\Miniconda3\envs\python35\Scripts The scripts contained a path which does not exist in my computer which leads to "The system cannot find the path specified." error. I change the path of each script and it is working again like charm. However, I failed to figure out how the path changed during my conda package installation. |
That doesn't work. |
Hi everyone, I'm a beginner with programming languages and I'm running into this issue right now, could someone solve it?
|
Hi there, thank you for your contribution to Conda! This issue has been automatically locked since it has not had recent activity after it was closed. Please open a new issue if needed. |
I'm working on a windows PC machine. It is easy to create a new environment using a command such as:
conda create -n test python pip
Then the prompt accurately indicates one should activate this environment using
activate test
(note this is not source activate test).
However I can't seem to deactivate or change to other environments without closing out the command console/powershell.
Typing
deactivate test
produces this error:
'deactiveate' is not recognized as an internal or external command, opererable program or batch file.
Any suggestions on how to deactivate this environment or change to another one?
The text was updated successfully, but these errors were encountered: