Ubuntu terminal starts with the Anaconda base environment (how to correct that?)

Rene picture Rene · Feb 18, 2019 · Viewed 8.5k times · Source

I have downloaded and installed the Anaconda distribution for Ubuntu (18.04) from [https://www.anaconda.com/distribution/#download-section] conform instructions some weeks ago. Everything worked fine.

Today I updated the packages in the Gnome terminal with:

source activate base
conda update --all --yes
conda deactivate
exit

Before I did this update, my terminal started with:

rene@mylaptop:~$

After the update a terminal session starts as follows (with the Anaconda base environment activated):

(base) rene@mylaptop:~$ 

How can I prevent this from happening / revert to the previous terminal settings? Any suggestions?

Answer

Ryan Loggerythm picture Ryan Loggerythm · Apr 23, 2019
conda config --set auto_activate_base false

This comes from a similar issue over here.