[Python] The term 'conda' is not recognized as the name of a cmdlet

Discussão em 'Python' iniciado por Stack, Maio 17, 2025.

  1. Stack

    Stack Membro Participativo

    I have installed Anaconda 2019.03 for Windows Installer in Windows 10. When typing anything which starts with conda on Powershell getting error:


    conda : The term 'conda' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    ​

    I have tried below solutions, which did not solved the problem:

    • Added path as shown here
    • As shown here, tried Method 1 and when opening Anaconda Prompt it says:

    'C:\Users\user-name\Anaconda3\Scripts\activate.bat' is not recognized as an internal or external command, operable program or batch file.
    ​
    • Looked at above direction, there is not activate.bat file there.
    • Uninstall and install as shown on metod 2, also did not changed anything.
    • Opened Anaconda Powershell Prompt in addition to 'conda' is not recognized also getting below error:

    & : The term 'C:\Users\user-name\Anaconda3\shell\condabin\conda-hook.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    ​
    • Actually, Path C:\Users\user-name\Anaconda3\shell do not exists when I have looked.

    Additional information listed:

    • I have installed MySQL on my PC
    • C:\Users\user-name\Anaconda3\envs is empty
    • Avira antivirus installed
    • Python 3.7.3 installed before Anaconda

    What should I do to solve this problem?

    Continue reading...

Compartilhe esta Página