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

ModuleNotFoundError when running pypykatz from repo #164

Open
ajmeese7 opened this issue Oct 7, 2024 · 1 comment
Open

ModuleNotFoundError when running pypykatz from repo #164

ajmeese7 opened this issue Oct 7, 2024 · 1 comment

Comments

@ajmeese7
Copy link

ajmeese7 commented Oct 7, 2024

$ python3 -m venv ./venv
$ source ./venv/bin/activate
$ pip3 install setuptools minidump minikerberos aiowinref msldap winacl
$ python3 setup.py install
$ python3 pypykatz
Traceback (most recent call line):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/ajmeese7/pypykatz/pypykatz/__main__.py", line 156, in <module>
    main()
  File "/home/ajmeese7/pypykatz/pypykatz/__main__.py", line 14, in main
    from pypykatz import logger
  File "/home/ajmeese7/pypykatz/pypykatz/pypykatz.py", line 12, in <module>
    from pypykatz.commons.common import KatzSystemInfo
ModuleNotFoundError: No module named 'pypykatz.commons'; 'pypykatz' is not a package
@Beercow
Copy link

Beercow commented Oct 19, 2024

Try removing the #! line from the beginning of the file. Might be using that variable for python instead of your virtual environment.

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