[#144] [Installation troubles] ERROR: No module named 'cgi'

Gmcapsule starts OK when I don't include the modules-line in .gmcapsulerc:

---

$ ./linux-venv/bin/gmcapsuled

GmCapsule v0.9.7

...

Init: CGI programs

...

---

However, when I include the line `modules = <path to directory with 50_bubble.py>`, I get the error message

ERROR: No module named 'cgi'

I have tried various things, adding the standard modules directory as an indented line, or renaming 50_bubble.py to 91_bubble.py to change the loading sequence, but nothing helps.

Any tips?

🐞 Issue #144 in s/Bubble-Issues

⛵️ olav

2025-09-03 · 8 months ago

2 Comments ↓

🌆 skyjake [mod...] · 2025-09-03 at 12:59:

Maybe you need to install this:

— https://pypi.org/project/legacy-cgi/

I should get rid of that import since it's been deprecated/removed...

⛵️ olav [OP] · 2025-09-03 at 13:15:

That did it - thank you very much. -- Olav