2022-07-14 06:10 AM
Hplip is only 3.19.12, and there is no higher version.
Solved! Go to Solution.
2022-07-15 09:30 AM
Hi @zxiao.4
An updated package hplip 3.19.12-r2 is available from «apt-get install» command:
root@stm32mp1:~# apt-cache policy hplip
hplip:
Installed: (none)
Candidate: 3.19.12-r2
Version table:
3.19.12-r2 500
500 http://packages.openstlinux.st.com/4.0 kirkstone/updates armhf Packages
3.19.12-r0 500
500 http://packages.openstlinux.st.com/4.0 kirkstone/untested armhf Packages
After installing hplip (and python3-dbus too) with the command:
root@stm32mp1:~# apt-get install hplip python3-dbus
hp-setup does no longer generate the error you reported earlier:
root@stm32mp1:~# hp-setup
HP Linux Imaging and Printing System (ver. 3.19.12)
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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
Using connection type: usb
error: No device selected/specified or that supports this functionality.
Best regards,
--JM
2022-07-15 03:41 AM
Hello @zxiao.4
Indeed, there is a break introduced with Python 3.10 as mentioned here: https://bugs.python.org/issue40943
related to this Python PEP published here: https://peps.python.org/pep-0353/
From what I can see, there is a fix to support Python 3.10 in last hplip versions.
I will try to bring a patch to the hplip package and will keep you posted.
Anyway, to reply to your question, there is no easy way to downgrade Python to python3.8 as provided in the ecosystem 3.1. Without any fix, the best way would be to come back to ecosystem 3.1 instead of ecosystem 4.0.
Best regards,
--JM
Edition: fix typos
2022-07-15 07:55 AM
OK,thanks.
2022-07-15 09:30 AM
Hi @zxiao.4
An updated package hplip 3.19.12-r2 is available from «apt-get install» command:
root@stm32mp1:~# apt-cache policy hplip
hplip:
Installed: (none)
Candidate: 3.19.12-r2
Version table:
3.19.12-r2 500
500 http://packages.openstlinux.st.com/4.0 kirkstone/updates armhf Packages
3.19.12-r0 500
500 http://packages.openstlinux.st.com/4.0 kirkstone/untested armhf Packages
After installing hplip (and python3-dbus too) with the command:
root@stm32mp1:~# apt-get install hplip python3-dbus
hp-setup does no longer generate the error you reported earlier:
root@stm32mp1:~# hp-setup
HP Linux Imaging and Printing System (ver. 3.19.12)
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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
Using connection type: usb
error: No device selected/specified or that supports this functionality.
Best regards,
--JM
2022-07-16 02:48 AM
Thank you very much for helping me and solving my big problem.