Search code examples
pythonanacondaspyderconda

conda is not recognized as an internal or external command, operable program or batch file


I was updating pandas (on windows 7) using:

conda update pandas

accidentally I closed the command window while updating. Now I can't start spyder and if I type conda in the command window I get:

"conda is not recognized as an internal or external command operable program or batch file"

if I type spyder --show=console I get

from PyQt5.Qtwidgets import * 
importerror: DLL load failed: The specific module could not be found

Any idea how to solve this?


Solution

  • I came across the same problem today. I was trying to install it on Windows 10 (64-bit OS). I installed Anaconda (version 4.4.0) without adding Anaconda to my PATH environment variable.

    The command conda info returned the same error:

     "conda is not recognized as an internal or external command operable program or batch file"
    

    I uninstalled Anaconda and installed it again, this time by selecting BOTH the options in the installation instruction as shown:

    enter image description here:

    Now the command conda info works, returning relevant information pertaining to version, platform, etc.

    Hope this helps!!