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