Ha Bom
Ha Bom

Reputation: 2917

What happened if I don't deactivate environment anaconda?

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

Answers (2)

Duy Nguyen
Duy Nguyen

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

gilch
gilch

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

Related Questions