3

I'm following a Cousera course on Machine learning. We have to use some specific tools such as Graphlab create. Yet, after installing Anaconda with

bash /Download/Anaconda2-4.0.0-Linux-x86_64.sh

I had to create a new conda environment with Python 2.7.x (I don't now why they didn't moved to python 3 but it seems that it is the way the teachers do its thing on)

conda create -n gl-env python=2.7 anaconda=4.0.

And it ansswered me conda: command not found

I read the related question posted by vincent and tried the best answer by George Udosen with

sudo mv /root/anaconda3 /home/$mike

But still, I received mv: cannot stat '/root/anaconda3': No such file or directory

13

I found an answer in madcurie's answer

for anaconda 2 :

export PATH=~/anaconda2/bin:$PATH

for anaconda 3 :

export PATH=~/anaconda3/bin:$PATH

for anaconda 4 :

Use the Anaconda Prompt

and then

conda --version  

to confirm that it worked.

| improve this answer | |
1

I was installing Anaconda3-2019.07-Linux-x86_64 (.sh) and was facing the problem of conda not being found as a command.

The problem was in the .bashrc entry that the installer was setting. I Needed to add

export PATH=~/anaconda3/bin:$PATH

in the if entry of

if [ -f "$anaconda3_path/etc/profile.d/conda.sh" ]; then...
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.