I recently installed Anconda Python on my Linux Mint 19.0 desktop. Actually, I had it installed before and everything worked great, same as with my Mint 19.0 laptop. However, I recently had to wipe my desktop and reinstall everything. Now, whenever I open the Terminal program, the prompt takes several seconds to appear. I've added set -x, set +x to the beginning and end of my bash profile to diagnose where the slowdown is.
The terminal load hangs on this line:
/home/auerilas/anaconda3/bin/conda shell.bash hook
for a few seconds. It's never done this before and doesn't do it on my other computer. Any thoughts on why this is happening? It's not a deal-breaker, but it is annoying.
I had the same problem and I solved it by recovering my old .bashrc file then I can load the bash configuration file of Anaconda whenever I need it.
To achieve this , follow these steps
cd ~
mv .bashrc conda.bashrc
mv .bashrc-anaconda3.bak .bashrc
gedit .bashrc
alias anaconda='source ~/.conda.bashrc'
source .bashrc
anaconda