HP-LIP does not work

Trying to set up my HP printers in almalinux-9 using HPLIP but it doesn't work.
rpm -qa|grep hplip hplip-common-3.21.2-6.el9.alma.x86_64 hplip-libs-3.21.2-6.el9.alma.x86_64 hplip-3.21.2-6.el9.alma.x86_64
These are the official almalinux packages, e.g. $ rpm -qi hplip Name : hplip Version : 3.21.2 Release : 6.el9.alma Architecture: x86_64 Install Date: Thu 22 Sep 2022 07:16:14 PM CDT Group : Unspecified Size : 27157762 License : GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC Signature : RSA/SHA256, Tue 12 Apr 2022 01:22:53 PM CDT, Key ID d36cb86cb86b3716 Source RPM : hplip-3.21.2-6.el9.alma.src.rpm Build Date : Tue 12 Apr 2022 11:49:56 AM CDT Build Host : x64-builder01.almalinux.org Packager : AlmaLinux Packaging Team packager@almalinux.org Vendor : AlmaLinux URL : https://developers.hp.com/hp-linux-imaging-and-printing Summary : HP Linux Imaging and Printing Project Description : The Hewlett-Packard Linux Imaging and Printing Project provides drivers for HP printers and multi-function peripherals.
Unlike other linux distros I've used, the GUI config tool "hp-toolbox" is not included. hp-setup fails thus:
$ hp-setup
HP Linux Imaging and Printing System (ver. 3.21.2) Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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.
Traceback (most recent call last): File "/usr/bin/hp-setup", line 313, in <module> ui = import_module(ui_package + ".setupdialog") File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked ModuleNotFoundError: No module named 'ui5
I had been successfully using hplip (including the gui utilities) in almalinux-8.5, but none of the hplip utilities seem to work in almalinux-9 and I am unable to use any of my printers from the almalinux-9 machine.
Any ideas?
participants (1)
-
John Thompson