Search code examples
pythonjupyter-notebookcondahomebrew-cask

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


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.


Solution

  • Close that terminal and restart,It worked for me