Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Conda command not found even after PATH defined

I installed Anaconda with Mac installer (and also tried .sh installer with bash). The installation created the PATH in .bash_profile file automatically like the following:

# Finished adapting your PATH environment variable for use with MacPorts.
# added by Anaconda2 2.5.0 installer
export PATH="/Users/MyUserName/anaconda/bin:$PATH"

I restarted Terminal and even the computer. When I type conda .... in the command line, I still receive the -bash: conda: command not found error. Am I doing/missing sth. wrong? I am using OS X Yosemite. Thanks

like image 390
ylcnky Avatar asked Nov 09 '22 20:11

ylcnky


1 Answers

I too was facing the same problem. I couldn't find a viable solution so I removed anaconda completely from my system using :

sudo rm -rf ~/anaconda

Then downloaded anaconda again and installed it. This is a workaround solution but it worked for me.

like image 53
Arjun Avatar answered Nov 15 '22 07:11

Arjun