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
I found an answer in madcurie's answer
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 addin the
if
entry ofI had the same problem !
You should know first where you have installed anaconda3. If it is installed in /root/anaconda3 so you should first change the user to the root by
Then you can activate one of conda environments:
If anaconda3 is installed in user's directory such as /home/[user-name]/anaconda3, you should not have trouble unless the path of conda command is not in the PATH variables.