Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip install not working (cant find command "git" ) #99

Open
An020 opened this issue Sep 14, 2022 · 1 comment
Open

Pip install not working (cant find command "git" ) #99

An020 opened this issue Sep 14, 2022 · 1 comment

Comments

@An020
Copy link

An020 commented Sep 14, 2022

I was typing in pip install git+https://github.com/abenassi/Google-Search-API but there's an issue which said that cannot find command 'git' - do you have 'git' installed and in your PATH?

(My python verison is 3.9.6, tried reinstalling but still doesnt work)
image

Edit: tried installing the requirements.txt in the package and still doesnt work

@An020 An020 changed the title Pip install not working (cant find command "git" Pip install not working (cant find command "git" ) Sep 14, 2022
@CharnaP
Copy link

CharnaP commented Jan 6, 2023

I was typing in pip install git+https://github.com/abenassi/Google-Search-API but there's an issue which said that cannot find command 'git' - do you have 'git' installed and in your PATH?

(My python verison is 3.9.6, tried reinstalling but still doesnt work) image

Edit: tried installing the requirements.txt in the package and still doesnt work

Hi! This is a problem solved if your download GIT from here https://git-scm.com/downloads
then you need to set it as a path in your system. This video very nicely outlines how to do something similar (https://www.youtube.com/watch?v=dj5oOPaeIqI&ab_channel=TechnoPanti) the only difference here is he is searching u the python exe, but instead you should be looking for the GIT exe.

So basically: download GIT --> copy path --> make new paths in internal and external environments --> set and then open and try your CMD line again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants