Skip to content

broken REMI (again !) #6

@jmfriedt

Description

@jmfriedt

As of Python3.13, CGI is no longer supported (?!) and REMI fails. Also Buildroot cross-installation seems to be failing when selecting python3-remi package. An awkward and ugly alternative is to install Buildroot's python3-pip and from the target install REMI (?!)

redpitaya> pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org remi
Collecting remi
  Downloading remi-2022.7.27-py3-none-any.whl.metadata (14 kB)
Downloading remi-2022.7.27-py3-none-any.whl (930 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 930.9/930.9 kB 3.2 MB/s eta 0:00:00
Installing collected packages: remi
Successfully installed remi-2022.7.27

which I am not happy with but gets us going. Of course

redpitaya> python3
Python 3.13.3 (main, Jun 16 2025, 08:58:04) [GCC 13.3.0] on linux
[...]
  File "/usr/lib/python3.13/site-packages/remi/server.py", line 50, in <module>
    import cgi
ModuleNotFoundError: No module named 'cgi'

but that is left as an exercise to the user (rawpython/remi#545) !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions