It appears that /usr/lib/hplip/ui/setupform.pyc is completely missing from the package.
A workaround is to empty the DISPLAY variable, which makes it fall back to command-line configuration. ** Changed in: hplip (Ubuntu) Importance: Undecided => High -- hp-setup fails with setupform import https://launchpad.net/bugs/77307 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs