© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•7mo ago•
3 replies
Joop

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
      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 🙂
Jump to solution
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Building and Installing Package help
BazziteBBazzite / 🛟bazzite-help
2y ago
Issue building Dolphin Emulator
BazziteBBazzite / 🛟bazzite-help
2y ago
Python
BazziteBBazzite / 🛟bazzite-help
4mo ago
Issues with building project in Rider with mono
BazziteBBazzite / 🛟bazzite-help
2mo ago