Mahi Rahman
Mahi Rahman

Reputation: 33

Installing Git Repository using pip

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

Upvotes: 2

Views: 8326

Answers (2)

yeachan park
yeachan park

Reputation: 180

Please add [Git Installed Directory]/usr/bin and [Git Installed Directory]/bin

to your PATH environment variable in Windows 10.

Upvotes: -1

bembas
bembas

Reputation: 771

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

Upvotes: 2

Related Questions