问题描述:
使用git命令时:
ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command git clone -q https://github.com/philferriere/cocoapi.git 'C:\Users\ASUS\AppData\Local\Temp\pip-req-build-ms13oiun'
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
原因分析:
没有下载git包。
解决方案:
使用conda安装:
conda install git
如果使用pip install git
报错:
ERROR: Could not find a version that satisfies the requirement git
ERROR: No matching distribution found for git