Ask Your Question

Error running HP printer setup gui, hp-setup -u

asked 2019-04-02 09:47:11 -0500

Jogala gravatar image


I am trying to install a hp printer HP OfficeJet Pro 8718.

Unfortunately without any success...

When running

hp-setup -u

I get the error

Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 312, in <module>
    QApplication, ui_package = utils.import_dialog(ui_toolkit)
TypeError: 'NoneType' object is not iterable

I already installed

sudo dnf install python3-qt5.x86_64 and 

Any idea?

edit retag flag offensive close merge delete


I usually use hplip-gui to install HP printers I have. Can you try it?

sudo dnf install hplip-gui

then launch it, and try again to add your printer from graphical application.

Night Romantic gravatar imageNight Romantic ( 2019-04-03 06:38:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-05 11:13:03 -0500

updated 2019-04-05 11:16:15 -0500

it's need to install cups becase it's a support system and also hp printer support install and setup

A. install cups and system enable cups

  # dnf install system-config-printer
  # dnf install cups*
  # dnf install hplip*

image description

B. system enable and run hplip

 # systemctl enable cups
 # systemctl start cups

C. HP Printer Setup

 # hp-setup

image description

D. it's a first check and also can be use system settings fo setup printer and also useful to use GUI

image description

E.'s a need to install qt and qt-devel to support qt application

edit flag offensive delete link more


@simmon, all the necessary packets from cups and all the major non-GUI packages from hplip are installed by default. system-config-printer can be useful, but with just HP printers and hplip-gui installed system-config-printer would not be needed.

I still maintain that the only needed package is hplip-gui (dnf will install dependencies).

Night Romantic gravatar imageNight Romantic ( 2019-04-05 12:59:24 -0500 )edit

basically, it's a need to confirm setup printer also, other printer need to use in system setting..have a nice day..!

simmon gravatar imagesimmon ( 2019-04-05 13:02:32 -0500 )edit

Question Tools



Asked: 2019-04-02 09:46:45 -0500

Seen: 54 times

Last updated: Apr 05 '19