Source From Here
QuestionI recently installed anaconda2 on my Mac. By default Conda is configured to activate the base environment when I open a fresh terminal session. But I don't ordinarily program in python, and I don't want Conda to activate an environment by default.
HowTo
I have conda 4.6 with a similar block of code that was added by conda. In my case, there's a conda configuration setting to disable the automatic base activation:
The first time you run it, it'll create a ./condarc in your home directory with that setting to override the default. This wouldn't de-clutter your .bash_profile but it's a cleaner solution without manual editing that section that conda manages.
沒有留言:
張貼留言