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
Why does this happen and how can I fix it?
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.
Check for conda install If conda is installed and its system path is registered in the PATH environmental variable, conda help contents should appear in the terminal. If the help contents appear, skip to the Install API section.
In order to make the conda command available in Git Bash, you need to add conda's shell script to your . bashrc file. This is the same file that you store your bash aliases in (such as the sqlite3 alias you probably created when you followed these instructions). Open this folder, then navigate to etc -> profile.
If you activate the environment you're interested in, you can find that answer in the environment variables. You can also run conda info --envs , and that will show the paths to all your environments. That should return the path you're looking for.
Close that terminal and restart,It worked for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With