Anaconda linux install: conda: command not found

14,267

You need to source the file, or open a new terminal instance, in order for the configuration to be applied:

source ~/.bashrc
Share:
14,267
ocean800
Author by

ocean800

Updated on June 04, 2022

Comments

  • ocean800
    ocean800 almost 2 years

    So I installed Anaconda for Python 3.6 according to the instruction from the official downloads page and also this.

    I followed all the steps and when I was asked if I wanted to add the Anaconda3 install location to my bashrc I said yes. When I print out the contents of that file, I have:

    # .bashrc
    
    # Source global definitions
    if [ -f /etc/bashrc ]; then
       . /etc/bashrc
    fi
    
    # added by Anaconda 2.3.0 installer
    export PATH="/home/username/anaconda/bin:$PATH"
    
    # added by Anaconda3 4.3.1 installer
    export PATH="/home/username/anaconda3/bin:$PATH"
    

    So obviously, it's been added. However, when I run conda -V, I get:

    bash: conda: commmand not found...

    What else can be causing this?

  • ocean800
    ocean800 about 7 years
    THANK YOU! Small error was driving me crazy. Will be accepting in 8 minutes. :)