Cannot find command ‘git‘ - do you have ‘git‘ installed and in your PATH?

Posted 空中旋转篮球

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cannot find command ‘git‘ - do you have ‘git‘ installed and in your PATH?相关的知识,希望对你有一定的参考价值。

命令提示符下安装“git”:

D:\\PycharmProjects\\pythonProject\\venv\\Scripts>pip install -q git+https://github.
com/tensorflow/examples.git
  ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command git c
lone -q https://github.com/tensorflow/examples.git 'C:\\Users\\ADMINI~1\\AppData\\Lo
cal\\Temp\\pip-req-build-50tp7914'
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

D:\\PycharmProjects\\pythonProject\\venv\\Scripts>pip install git
ERROR: Could not find a version that satisfies the requirement git (from version
s: none)
ERROR: No matching distribution found for git

 Pycharm安装git

安装了依旧不行。

进入官网下载一个安装:

https://git-scm.com/download/win

git bash 过程:

GitHub教程 Git Bash详细教程

Git Bash使用详细教程

过程也挺复杂的。

以上是关于Cannot find command ‘git‘ - do you have ‘git‘ installed and in your PATH?的主要内容,如果未能解决你的问题,请参考以下文章

Eclipse中使用git提交代码,报错Testng 运行Cannot find class in classpath的解决方案

杩愯绋嬪簭鏃舵姤go: cannot find main module, but found .git/config in

macOS系统中,在linux内安装git。解决报错cannot find a valid baseurl for repo···

Error: Cannot find a valid baseurl for repo: base

go 报错 cannot find module providing package或cannot find main module

eclipse故障cannot find -lstdc++,如何解决??麻烦高手详细讲解