conda 不被识别为内部或外部命令、可运行程序或批处理文件

gab*_*how 6 python spyder anaconda conda

我正在使用以下方法更新 pandas(在 Windows 7 上):

conda update pandas
Run Code Online (Sandbox Code Playgroud)

我在更新时不小心关闭了命令窗口。现在我无法启动spyder,如果我在命令窗口中输入conda,我会得到:

"conda is not recognized as an internal or external command operable program or batch file"
Run Code Online (Sandbox Code Playgroud)

如果我输入spyder --show=console 我得到

from PyQt5.Qtwidgets import * 
importerror: DLL load failed: The specific module could not be found
Run Code Online (Sandbox Code Playgroud)

知道如何解决这个问题吗?

Jer*_*uke 4

我今天遇到了同样的问题。我试图在 Windows 10(64 位操作系统)上安装它。我安装了 Anaconda(版本 4.4.0),但没有将 Anaconda 添加到我的 PATH 环境变量中。

命令conda info返回相同的错误:

 "conda is not recognized as an internal or external command operable program or batch file"
Run Code Online (Sandbox Code Playgroud)

我卸载了 Anaconda 并再次安装,这次选择安装说明中的两个选项,如下所示:

在此输入图像描述

现在该命令conda info可以运行,返回有关版本、平台等的相关信息。

希望这可以帮助!!

  • 您不需要重新安装:转到控制面板\系统\高级系统设置\环境变量\路径,然后点击编辑并将路径添加到脚本,例如:`C:Users \用户名\ Anaconda3 \ Scripts` (10认同)