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

I don't know how to solve this problem #26

Open
C0KE opened this issue Nov 22, 2022 · 4 comments
Open

I don't know how to solve this problem #26

C0KE opened this issue Nov 22, 2022 · 4 comments

Comments

@C0KE
Copy link

C0KE commented Nov 22, 2022

File "/home/kali/pbtk/extractors/from_binary.py", line 8, in
from utils.common import register_extractor, extractor_main
ModuleNotFoundError: No module named 'utils.common

@ahmedmani
Copy link

the correct way to call pbtk is to use the gui run "python gui.py" in the same directory as gui.py for manual calling refer to readme

@ohmybahgosh
Copy link

I'm having the same issue:

✦ ❯ python gui.py
Traceback (most recent call last):
File "/root/Documents/REMOVED/pbtk/gui.py", line 19, in <module>
from utils.common import extractors, transports, BASE_PATH, assert_installed, extractor_save, insert_endpoint, load_proto_msgs
ModuleNotFoundError: No module named 'utils.common'

@ohmybahgosh
Copy link

Temporary workaround was to create an empty __init__.py file inside utils folder

@ahmedmani
Copy link

@ohmybahgosh
you can also try creating a setup file in main directory and running pip install -e .

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

3 participants