

Log out and log back in and the "base" environment will no longer activate automatically. If you want to disable it, create a file called ~/.condarc (or edit it if there's a file there already) and add this to it: auto_activate_base: false If you're in the "foo" environment, your terminal will search for programs in "foo", then the base environment (i.e., the environment which is the parent to all other environments), and then the system.īy default, when you log in, the "base" environment activates. Programs are sought a directory at a time, starting from the front of the PATH. And you will see that the location of the "foo" environment has been placed earlier in your PATH. Now, if you have created an environment called foo and then activated it by typing conda activate foo, then you will now see the (foo) prompt.Īfter you do that, type env | grep ^PATH again.

For example, type: env | grep ^PATH and note what it says.

Under Ubuntu (Linux), when you use Anaconda, you are just changing the search path for programs.
