`conda` gives "No such file or Directory" although I added PATH in my .bash_profile

Leonard picture Leonard · Jul 14, 2019 · Viewed 12.2k times · Source

My Jupyter notebook and Conda was breaking down so I decided to remove everything and install it again.

I installed anaconda using brew cask install anaconda Afterward, I added export PATH="/usr/local/anaconda3/bin:$PATH" in my .bash_profile (Everything from this instruction)

However, when I type conda --version it says -bash: /Users/leonard/anaconda3/bin/conda: No such file or directory

  1. Why does this happen and how can I fix it?

  2. I just want to get my Jupyter notebook, R, and Python working. Is it possible to use these without using Anaconda? I've been having so many troubles.

Answer

MbeforeL picture MbeforeL · Jul 14, 2019

Close that terminal and restart,It worked for me