Error: 'git' not in PATH(nim学习系列)
某日在一台windows 7 上安装nim lang,然后安装第一个包就报错了。
C:\Users\user>nimble install winim --verbose
Reading official package list
Downloading https://github.com/khchen/winim using git
Error: 'git' not in PATH.
随后全盘搜索也没发现“git.exe”,只能重新安装git。然后再次安装winim,发现可以了。
C:\Users\user>nimble install winim
Downloading https://github.com/khchen/winim using git
Verifying dependencies for winim@3.9.0
Installing winim@3.9.0
Success: winim installed successfully.
引用
https://git-scm.com/download/win
https://github.com/git-guides/install-git
From: https://www.cnblogs.com/StudyCat/p/17410221.html