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

Python 3.13.0: ModuleNotFoundError: No module named 'cgi' #216

Open
Jaaap opened this issue Jan 14, 2025 · 1 comment
Open

Python 3.13.0: ModuleNotFoundError: No module named 'cgi' #216

Jaaap opened this issue Jan 14, 2025 · 1 comment

Comments

@Jaaap
Copy link

Jaaap commented Jan 14, 2025

Describe the bug
After setup of Holehe under Python 3.13.0, the following error is produced when running holehe [email protected]:

ModuleNotFoundError: No module named 'cgi'

To Reproduce
Steps to reproduce the behavior:

  1. Run python3 setup.py install
  2. Run holehe [email protected]
  3. See error: ModuleNotFoundError: No module named 'cgi'

Expected behavior
I'd expect Holehe to be able to run under python 3.13.0

Desktop:

  • OS: macOS 13.7.2
  • Python: 3.13.0
  • Pip3: 24.2

Additional context
It appears that Python has removed cgi from the standard library. I tried installing the legacy-cgi package in a virtual python environment but that did not resolve the issue (same error)

@JordyBaadePXL
Copy link

this is what i did to fix to problem,
pip install pycgi
pip install legacy-cgi
pip install requests

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

2 participants