Skip to content

Incompatibilidad con Python 3.13+ por el uso del módulo cgi #1

Description

@MyCode83

Actualmente server.py importa cgi, módulo el cuál esta obsoleto en python 3.11 y eliminado de la stdlib en python 3.13+ .
Entonces cualquiera con python mayor a 3.13 le saldría esto:

└─$ ./server.py  
Traceback (most recent call last):
  File "/home/kali/ADAutoGraph/./server.py", line 3, in <module>
    import cgi
ModuleNotFoundError: No module named 'cgi'

Soluciones:

  1. Reemplazar cgi por módulos actuales de la librería estándar, por ejemplo urllib.parse, según para qué se use.
  2. Avisar de la incompatibilidad a Python <3.13 en el README.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions