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
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