smicallef / spiderfoot

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
http://www.spiderfoot.net
MIT License
13.27k stars 2.29k forks source link

ModuleNotFoundError: No module named 'cherrypy' #1836

Closed jaseemuddinn closed 10 months ago

jaseemuddinn commented 11 months ago

Traceback (most recent call last): File "D:\spiderfoot\sf.py", line 25, in import cherrypy ModuleNotFoundError: No module named 'cherrypy' This is the error.

already tried using pip3 install -r requirements.txt , using pip version 23.3.2 and python version 3.10.11.

How do I solve it?

espin086 commented 10 months ago

I had the same error, and I have been manually installing all packages manually and finally stopped after I could no longer find why pip3 install -r requirements.txt was giving me errors even after manually installing all packages, I received this error:

Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

espin086 commented 10 months ago

@jaseemuddinn - I found the solution, look at what Zachary says here about updating Cython, I tried it and have it working now: https://discuss.python.org/t/getting-requirements-to-build-wheel-did-not-run-successfully-exit-code-1/30365 ![Uploading Screenshot 2024-01-07 at 11.44.59 PM.png…]()

jaseemuddinn commented 10 months ago

@espin086 Thanks a lot!! Worked for me :)

and for windows there is little change: echo Cython^<3 > cython_constraint.txt

^ is used to escape the < character in the Windows command prompt.