I am trying to install the following git repo. But it says cannot find command 'git' though I have git software installed in my computer.
pip install git+https://github.com/NREL/ditto.git@master
I am trying to install the following git repo. But it says cannot find command 'git' though I have git software installed in my computer.
pip install git+https://github.com/NREL/ditto.git@master
Did you put the path?
If you have GitHub for Windows (before version 1.1), your path should be:
C:\Users\\AppData\Local\GitHub\PortableGit_\cmd
After confirming and copying your path, do the following:
-Right click on My Computer or This PC
-Click on Properties
-Click on Advanced system settings
-Click on Environment Variables under the Advanced tab
-Add your path with ; before it in the variable Path
-Press Ok
-Use a new terminal
git --version
. But while pip installing the code from the original post, it is showing the following error Command python setup.py egg_info failed with error code 1 in C:\Users\mrahman\AppData\Local\Temp\pip-j_5r5727-build Storing debug log for failure in C:\Users\mrahman\pip\pip.log
Commented
Jun 20, 2018 at 20:07
Please add [Git Installed Directory]/usr/bin and [Git Installed Directory]/bin
to your PATH environment variable in Windows 10.