Created
April 30, 2020 05:41
-
-
Save y56/2206619b6de7327cd71fdaa7c2ca1994 to your computer and use it in GitHub Desktop.
How do I prevent Conda from activating the base environment by default?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/54429210/how-do-i-prevent-conda-from-activating-the-base-environment-by-default | |
== | |
I recently installed anaconda2 on my Mac. By default Conda is configured to activate the base environment when I open a fresh terminal session. | |
I want access to the Conda commands (i.e. I want the path to Conda added to my $PATH which Conda does when initialised so that's fine). | |
But I don't ordinarily program in python, and I don't want Conda to activate an environment by default. | |
When first executing conda init from the prompt, Conda adds the following to my .bash_profile: | |
== | |
conda config --set auto_activate_base false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment