When I ran the program
hp-setup I got the following output:
HP Linux Imaging and Printing System (ver. 3.16.3) Printer/Fax Setup Utility ver. 9.0 Copyright (c) 2001-15 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP warning: Qt/PyQt 4 initialization failed. error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
How can I fix this error?