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

sfp_filemeta: No module named 'exceptions' #1848

Open
mattmayer94 opened this issue Mar 2, 2024 · 5 comments
Open

sfp_filemeta: No module named 'exceptions' #1848

mattmayer94 opened this issue Mar 2, 2024 · 5 comments

Comments

@mattmayer94
Copy link

I'm trying to start the server to launch the web UI, but I'm receiving an error

CRITICAL:spiderfoot.main:Failed to load module sfp_filemeta: No module named 'exceptions'

2024-03-02 08:34:35,727 [CRITICAL] sf : Failed to load module sfp_filemeta: No module named 'exceptions'

'exceptions' does not appear in sfp_filemeta so it must be from a dependency.

What am I missing?

@SHL0MS-team
Copy link

same error

@darkb0ts
Copy link

darkb0ts commented Mar 18, 2024

what is your python version cmd:python --version and paste your error

@distinguishedVagrant
Copy link

Same issue here, running python 3.11.2 on debian xfce disposable in qubes.os.

(myenv) user@disp9558:/snap/spiderfoot/current$ python3 sf.py -l 127.0.0.1
2024-06-06 19:35:35,307 [CRITICAL] sf : Failed to load modules: No module named 'exceptions'
Traceback (most recent call last):
File "/snap/spiderfoot/133/sf.py", line 144, in main
sfModules = SpiderFootHelpers.loadModulesAsDict(mod_dir, ['sfp_template.py'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/spiderfoot/133/spiderfoot/helpers.py", line 161, in loadModulesAsDict
mod = import('modules.' + modName, globals(), locals(), [modName])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/spiderfoot/133/modules/sfp_filemeta.py", line 19, in
import docx
File "/home/user/myenv/lib/python3.11/site-packages/docx.py", line 30, in
from exceptions import PendingDeprecationWarning
ModuleNotFoundError: No module named 'exceptions'

@fmendes-e
Copy link

same error here.

@fmendes-e
Copy link

fmendes-e commented Jun 7, 2024

try this, in my case was cython, when i run pip3 install -r requirements return something related with, so i install this guy, uninstall pyyaml and install again.

groot@debian:~/spiderfoot-4.0$ pip3 install "cython<3.0.0" wheel --break-system-packages
pip uninstall pyyaml --break-system-packages
pip install "pyyaml==5.4.1" --no-build-isolation --break-system-packages
pip3 install -r requirements.txt --break-system-packages

after all this is returning other error with cryptography not compatible to other modules, but now i can run spiderfoot xD

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

5 participants