Home > Backend Development > Python Tutorial > Why is 'conda: command not found' Appearing on My Linux System?

Why is 'conda: command not found' Appearing on My Linux System?

Patricia Arquette
Release: 2024-12-16 01:41:10
Original
869 people have browsed it

Why is

Troubleshooting Conda Execution on Linux

You're experiencing the "conda: command not found" error when attempting to install Python v3.3 using conda. The underlying issue is that conda is not accessible from your command line.

To resolve this, follow these steps on your Linux system:

  • Option 1: Add the conda executable to your system path.

    For Anaconda 2:

    export PATH=~/anaconda2/bin:$PATH
    Copy after login

    For Anaconda 3:

    export PATH=~/anaconda3/bin:$PATH
    Copy after login

    For Anaconda 4:
    Use the Anaconda Prompt.

  • Option 2: Activate your Anaconda environment.

    conda activate myenv
    Copy after login

    Where "myenv" is the name of your Anaconda environment.

Once you have added conda to your path or activated your Anaconda environment, verify that it's working by running:

conda --version
Copy after login

If the command is successful, conda is properly installed and accessible on your system. You should now be able to use conda to install Python v3.3 or any other packages.

The above is the detailed content of Why is 'conda: command not found' Appearing on My Linux System?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template