This is solved in Ubuntu: https://launchpad.net/ubuntu/+source/hplip/3.19.12+dfsg0-4ubuntu1 You could add the patch for Python 3.8 support to the Debian package. Till