Python Error on Install (Debian 12 Bookworm)

I’ve been thinking about starting with LT for a while now, finally decided to give it a try. Apparently there’s currently no official Debian 12 (Bookworm) support as of yet?

I did adjust the install script to accept Debian 12 Bookworm as valid, and the script did run for a bit. then I ran into this:

building ‘psycopg_c._psycopg’ extension
creating build/temp.linux-x86_64-cpython-311/psycopg_c
creating build/temp.linux-x86_64-cpython-311/psycopg_c/types
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/postgresql -I/opt/libretime/include -I/usr/include/python3.11 -c psycopg_c/_psycopg.c -o build/temp.linux-x86_64-cpython-311/psycopg_c/_psycopg.o
psycopg_c/_psycopg.c:1273:10: fatal error: pg_config.h: No such file or directory
1273 | #include “pg_config.h”
| ^~~~~~~~~~~~~
compilation terminated.
error: command ‘/usr/bin/x86_64-linux-gnu-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 psycopg-c
Successfully built libretime-api
Failed to build psycopg-c
ERROR: Could not build wheels for psycopg-c, which is required to install pyproject.toml-based projects

[notice] A new release of pip is available: 24.0 → 24.2
[notice] To update, run: python3 -m pip install --upgrade pip

This is a clean Bookworm install with no DE or WM.

The clone was done and the script was run directly as root user.

Hi,
there is no Debian 12 Bookworm support for LibreTime at the moment.
Look in here: Debian Bookworm support