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

Script fails to execute #82

Closed
rajashekar1410 opened this issue Oct 14, 2022 · 1 comment
Closed

Script fails to execute #82

rajashekar1410 opened this issue Oct 14, 2022 · 1 comment

Comments

@rajashekar1410
Copy link

Traceback (most recent call last):
File "C:\Program Files\Python310\lib\site-packages\git_init_.py", line 89, in
refresh()
File "C:\Program Files\Python310\lib\site-packages\git_init_.py", line 76, in refresh
if not Git.refresh(path=path):
File "C:\Program Files\Python310\lib\site-packages\git\cmd.py", line 389, in refresh
raise ImportError(err)
ImportError: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()

All git commands will error until this is rectified.

@shadycuz
Copy link
Member

@rajashekar1410 sorry I missed this. This issue is a duplicate of #29. So I will close this one. That issue has some steps to help you fix this. Unfortunately, the temp file is created in a random directory, so you have to run a python command to find it. I will try to make the directory a known place so its easier to fix this.

I will also look for a more permanent fix in the future. Thanks for opening the issue =)

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