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

Missing _bz2 module #1861

Closed
chalsan1 opened this issue May 20, 2024 · 0 comments
Closed

Missing _bz2 module #1861

chalsan1 opened this issue May 20, 2024 · 0 comments

Comments

@chalsan1
Copy link

"Traceback (most recent call last):
File "/usr/local/bin/spiderfoot-4.0/sf.py", line 29, in
from sflib import SpiderFoot
File "/usr/local/bin/spiderfoot-4.0/sflib.py", line 42, in
from spiderfoot import SpiderFootHelpers
File "/usr/local/bin/spiderfoot-4.0/spiderfoot/init.py", line 6, in
from .helpers import SpiderFootHelpers
File "/usr/local/bin/spiderfoot-4.0/spiderfoot/helpers.py", line 8, in
import networkx as nx
File "/home/user/.local/lib/python3.12/site-packages/networkx/init.py", line 19, in
from networkx import utils
File "/home/user/.local/lib/python3.12/site-packages/networkx/utils/init.py", line 2, in
from networkx.utils.decorators import *
File "/home/user/.local/lib/python3.12/site-packages/networkx/utils/decorators.py", line 1, in
import bz2
File "/usr/local/lib/python3.12/bz2.py", line 17, in
from _bz2 import BZ2Compressor, BZ2Decompressor
ModuleNotFoundError: No module named '_bz2'"

Python version 3.12.2

spiderfoot 4.0

I found nothing related with this issue that solved this problem. Google produced hits that told me to reinstall libbz2-dev and similar packages.. I went into the python3.12 folder and put in a raw bz2.py file, but still got the same error.

I also tried find a similar bz2 package for pip install [_bz2], but I didn't find it.

I can't figure this out. Any thoughts? Maybe someone found a way to import those modules.

@chalsan1 chalsan1 closed this as completed Jun 2, 2024
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