Skip to content

ImportError: No module named lib.py3compat  #2

@Kaizan-wyl

Description

@Kaizan-wyl

thank you for your project,but when I run shell "python run_system.py" on my own linux system, the project logged error as below:

/root/tmp/elf/file/zfsinfo.mod
Traceback (most recent call last):
File "ELFMiner.py", line 1, in
from readelf3 import *
File "/root/tmp/elf/ELF-Miner-master/readelf3.py", line 23, in
from elftools.elf.elffile import ELFFile
File "./elftools/elf/elffile.py", line 23, in
from ..common.utils import struct_parse, elf_assert
File "./elftools/common/utils.py", line 12, in
from ..construct import ConstructError
File "./elftools/construct/init.py", line 33, in
from .core import *
File "./elftools/construct/core.py", line 3, in
from .lib.py3compat import BytesIO, advance_iterator, bchr
ImportError: No module named lib.py3compat

I examine the directories “ ./elftools/construct“, and the lib file is not existing, starved for your answer, thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions