Install fails on RPI2-B with latest image (2025-12)

I had a spare RPI laying around and wanted to test this.
No luck though. The installation seems to run fine until this:

  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/arm-linux-gnueabihf-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
ERROR: Failed to build installable wheels for some pyproject.toml based projects (cffi)

So I’m missing a header file; the question is which one and where to get it from.

A RPI2 do not have enough ram to run modern versions of HA.

2025.12 was the first HA Core version that is 64bit only. Pi2 does not run 64bit software, so to be expected. You can try 2025.11

It should run 64bit, at least revision 1.2 and 1.3.
https://www.raspberrypi.com/products/raspberry-pi-2-model-b/

And those revisions are very hard to find

Too bad but at least its clear then.
I will find some other use for it :sunglasses: