Resolving issue with building python package

Hi all,

I am trying to use build a python package within Lutris and am encountering the below error. I know normally I would have to install the python development headers to resolve this, but I'm unsure how to approach that with the immutable nature of bazzite. Would love some help, please!

      src/c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
          2 | #include <Python.h>
            |          ^~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cffi
Failed to build cffi


Thanks!!:glorp:
Solution
installed via rpm-ostree 🙂
Was this page helpful?