neolee / pilot

进入编程世界的第一课
589 stars 842 forks source link

Updating Scoop遇到'git' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 Update failed怎么办? #1498

Open cxiaoxiong opened 2 years ago

cxiaoxiong commented 2 years ago

PS C:\Users\lenovo> scoop list Installed apps:

7zip 19.00 busybox 3244-g48128b9aa dark 3.11.2 git 2.23.0.windows.1 innounp 0.49 mysql57 failed nodejs 13.0.1 python37 3.7.4 [C:\Users\lenovo\scoop\workspace\python37.json]

PS C:\Users\lenovo> scoop install git Updating Scoop... 'git' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 Update failed. WARN 'git' (2.23.0.windows.1) is already installed. Use 'scoop update git' to install a new version. PS C:\Users\lenovo> scoop update git Updating Scoop... 'git' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 Update failed. PS C:\Users\lenovo>

cxiaoxiong commented 2 years ago

我重新复习了《如何提问》,自己先学会如何提问先。

neolee commented 2 years ago

看看你的 <用户根路径>/scoop/shims 下面有没有 git.exe 这个文件。