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
apt install foomatic-db
) helps with your ppd problem? – Enterprise Oct 09 '20 at 21:53/etc/cups/ppd/
. In the past, I've been able to find an old Ubuntu package (from a previous version of Ubuntu) that had the ppd I needed; I downloaded the corresponding .deb (from https://packages.ubuntu.com/) and simply extracted the specific .ppd file I needed. – Enterprise Oct 09 '20 at 22:05hp-plugin
installed. – N0rbert Oct 10 '20 at 07:03dpkg -l hplip
to your question. – Random Person Oct 12 '20 at 15:10apt list python3-pyqt5
– Charles Green Oct 12 '20 at 15:23