I managed to get a minimal setup to work on Ubuntu 24.04 by running python3 install.py --no-qt4 from the hplip-3.24.4 directory and only installing the driver in the custom install.
I managed to get a minimal setup to work on Ubuntu 24.04 by running python3 install.py --no-qt4 and only installing the driver in the custom install.