ylcnky
ylcnky

Reputation: 775

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

Upvotes: 5

Views: 3719

Answers (1)

Arjun
Arjun

Reputation: 325

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.

Upvotes: 1

Related Questions