【发布时间】:2017-06-15 20:08:30
【问题描述】:
Windows 10、Anaconda 2 或 3
c:\leo.repo\leo-editor>c:\apps\Git\bin\git.exe --version
产量:
git 版本 2.8.2.windows.1
sys.path 包含 C:\apps\Git、C:\apps\Git\bin 和 C:\apps\Git\cmd,但我得到了可怕的 GitCommandNotFound 异常。我做错了什么?
执行:
从 git 导入仓库
产量:
[剪辑]
文件“c:\Anaconda3\lib\site-packages\git\cmd.py”,第 602 行,在执行中 raise GitCommandNotFound(command, err)
git.exc.GitCommandNotFound: Cmd('git') not found due to: FileNotFoundError('[WinError 2] 系统找不到指定的文件') 命令行:git版本
爱德华
【问题讨论】:
标签: gitpython