I've recently started using the Anaconda Python distribution for software development and I want it to be the default Python distribution when I run something in the terminal. In order to do this, I've added the Anaconda binaries directory to my .bashrc file:
This works fine.
However, now certain tools don't work in my Gnome desktop environment. I can't run gnome-tweak-tool and I can't open a terminal using a keyboard shortcut I assigned.
I've tracked down this problem to the fact that these operations now use my Anaconda installation and not the original, which has some extra libraries installed (e.g. `gi').
So how do I fix this problem? Is there any way to have things executed only at the start of a terminal session and not for my entire gnome environment?