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

Running example error? #1

Open
Rookie619 opened this issue May 28, 2024 · 0 comments
Open

Running example error? #1

Rookie619 opened this issue May 28, 2024 · 0 comments

Comments

@Rookie619
Copy link

I want to know which version of python do you use? This is my problem:
python3 running result:

python3 ../patch.py hello.exe hello.py
Traceback (most recent call last):
File "/home/zhangzheng/pepatch/example/../patch.py", line 7, in
from core.patcher import Patcher
File "/home/zhangzheng/pepatch/core/init.py", line 2, in
from binary import *
ModuleNotFoundError: No module named 'binary'

python2 running result:

python2 ../patch.py hello.exe hello.py
Traceback (most recent call last):
File "../patch.py", line 7, in
from core.patcher import Patcher
File "/home/zhangzheng/pepatch/core/init.py", line 2, in
from binary import *
File "/home/zhangzheng/pepatch/core/binary.py", line 2, in
from dependency import pefile
File "/home/zhangzheng/pepatch/dependency/init.py", line 2, in
from pefile import *
File "/home/zhangzheng/pepatch/dependency/pefile.py", line 23, in
from builtins import bytes
ImportError: No module named builtins

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