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

An update in flare-capa or networkx breaks mbcscan #2

Open
kryponix opened this issue May 7, 2023 · 0 comments
Open

An update in flare-capa or networkx breaks mbcscan #2

kryponix opened this issue May 7, 2023 · 0 comments

Comments

@kryponix
Copy link

kryponix commented May 7, 2023

Hi,
It seems that an update in remnux networkx package (maybe a flare-capa's dependency) breaks mbcscan:
File "/usr/local/bin/mbcscan.py", line 340, in
capa = capa_details(g_args.file)
File "/usr/local/bin/mbcscan.py", line 229, in capa_details
extractor = capa.main.get_extractor(file_path, "auto", capa.main.BACKEND_VIV, disable_progress=True)
File "/usr/local/lib/python3.8/dist-packages/capa/main.py", line 346, in get_extractor
return get_extractor_py3(path, format, backend, disable_progress=disable_progress)
File "/usr/local/lib/python3.8/dist-packages/capa/main.py", line 326, in get_extractor_py3
import capa.features.extractors.viv
File "/usr/local/lib/python3.8/dist-packages/capa/features/extractors/viv/init.py", line 16, in
import capa.features.extractors.viv.function
File "/usr/local/lib/python3.8/dist-packages/capa/features/extractors/viv/function.py", line 12, in
from capa.features.extractors import loops
File "/usr/local/lib/python3.8/dist-packages/capa/features/extractors/loops.py", line 9, in
from networkx import nx
ImportError: cannot import name 'nx' from 'networkx' (/usr/local/lib/python3.8/dist-packages/networkx/init.py)

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