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

Problem with truffleHog when trying --help #6290

Open
sankhacse18 opened this issue Sep 9, 2020 · 0 comments
Open

Problem with truffleHog when trying --help #6290

sankhacse18 opened this issue Sep 9, 2020 · 0 comments

Comments

@sankhacse18
Copy link

C:\Users\Sankhadeep>truffleHog --help
Traceback (most recent call last):
File "c:\users\sankhadeep\appdata\local\programs\python\python38-32\lib\site-packages\git_init_.py", line 83, in
refresh()
File "c:\users\sankhadeep\appdata\local\programs\python\python38-32\lib\site-packages\git_init_.py", line 73, in refresh
if not Git.refresh(path=path):
File "c:\users\sankhadeep\appdata\local\programs\python\python38-32\lib\site-packages\git\cmd.py", line 278, 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.

This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|none|n|0: for no warning or exception
- warn|w|warning|1: for a printed warning
- error|e|raise|r|2: for a raised exception

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

1 participant