I am trying to connect to an HP M1217nfw MFP via Wi-Fi. The installation says I need an HP plugin for the printer.
hp-doctor notes that a required dependency pyqt5 is missing.
When I start hplip-3.20.3-plugin.run I get:
error: Unable to load Qt5 support. Is it installed?
Try running with -i or --qt3 instead.
When I run sudo ./hplip-3.20.3-plugin.run --qt3, it tells me there is an unrecognized flag.
If I try to install python-pyqt5 or python2-pyqt5 I get:
Unable to locate package
python3-pyqt5 is installed with the latest version
I have removed and reinstalled HPLIP both from the HP site using several versions from 3.18 to 3.20.9 and by reinstalling HPLIP 3.20 from the Ubuntu repository.
I checked that Python2 was installed with apt.
Trying to run hp-setup or hp-plugin dies with error:
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Running lsb_release -a from the command line produces the correct release information.
It seems I need the HP Plugin and the HP Plugin downloader needs a generic pyqt5 module.
Any help would be greatly appreciated.
The suggested solutions involve running hp-setup or hp-plugin, but I can't as they error out on lsb_release -a.
I also can't run hplip-3.20.3-plugin.run as it errors out looking for pyqt5.
Output of dpkg -l hplip:
ii hplip 3.20.3+dfsg0-2 amd64 HP Linux Printing and Imaging System (HPLIP)
Output of apt list python3-pyqt5:
python3-pyqt5/focal,now 5.14.1+dfsg-3build1 amd64 [installed]
python3-pyqt5/focal 5.14.1+dfsg-3build1 i386