question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while running binwalk

See original GitHub issue

I am using binwalk on Manjaro. I have tried to install it multiple times but every time I am getting this error:

➜ binwalk
Traceback (most recent call last):
  File "/bin/binwalk", line 25, in <module>
    import binwalk
  File "/lib/python3.7/site-packages/binwalk/__init__.py", line 3, in <module>
    from binwalk.core.module import Modules
  File "/lib/python3.7/site-packages/binwalk/core/module.py", line 10, in <module>
    import inspect
  File "/usr/lib/python3.7/inspect.py", line 40, in <module>
    import linecache
  File "/usr/lib/python3.7/linecache.py", line 11, in <module>
    import tokenize
  File "/usr/lib/python3.7/tokenize.py", line 33, in <module>
    import re
  File "/usr/lib/python3.7/re.py", line 143, in <module>
    class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
mzfrcommented, Nov 28, 2018

Yes I’ll close the issue, I got it working with python 2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Binwalk error on update ubuntu jammy jellyfish
I run command binwalk and it shows me following error. Traceback (most recent call last): File "/usr/local/bin/binwalk", line 4, in <module> ...
Read more >
.bin firmware Standalone Binwalk returns garbage, Binwalk -I ...
As the title says I have the firmware of the WAX214 wifi access point. The firmware is actively preventing me from using the...
Read more >
Repairing a Broken Huawei NAND Dump and Single-Bit Errors
The first thing we typically do with a NAND dump is run it through a carving tool like binwalk to get an overall...
Read more >
Using Binwalk | Kali Linux - An Ethical Hacker's Cookbook
Binwalk is a built-in Python tool that is used to analyze, reverse-engineer, and extract firmware images. A lot of people who play CTFs...
Read more >
Binwalk not extracting files from binary - Stack Overflow
It seems Binwalk with -e just extract files with known or complete ... You need to decrypt the firmware before running it through...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found