Reputation: 2917
I wonder if there is any problem if I just close the terminal without deactivate
. Or when I change the environment, do I need to deactivate the environment I'm working in or I just need to activate other-env
.
Upvotes: 3
Views: 2014
Reputation: 1005
There is no problem when you try to close the terminal without deactivate
, the activate
is only affected within terminal session.
And if you want to change env, just activate
it without deactivate
the old one
Upvotes: 4
Reputation: 11681
Closing the window without deactivating should be fine. You can also just activate the new environment without deactivating first.
The same goes for virtualenv.
Upvotes: 2