You are not logged in.

#1 2024-04-28 06:08:51

Rubby
Member
Registered: 2024-04-28
Posts: 3

[SOLVED]Can not use HP printer

I try to config printer with system-config-printer and I got the issuse:

╰─ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 86, in <module>
    import cupshelpers
ModuleNotFoundError: No module named 'cupshelpers'

Here is my env:

> python --version                       
Python 3.12.3

> type python
python is /usr/bin/python

> python -c "import sys; print(sys.path)"
['', '/usr/lib/python312.zip', '/usr/lib/python3.12', '/usr/lib/python3.12/lib-dynload', '/usr/lib/python3.12/site-packages']

> ls /usr/lib/python3.12/site-packages | grep cups
cups.cpython-312-x86_64-linux-gnu.so
cupsext.so
cupshelpers-1.0-py3.12.egg
pycups-2.0.4-py3.12.egg-info

How to fix it?

Last edited by Rubby (2024-04-29 09:00:13)

Offline

#2 2024-04-28 10:21:49

Rubby
Member
Registered: 2024-04-28
Posts: 3

Re: [SOLVED]Can not use HP printer

May using conda have any influence on it?

Offline

#3 2024-04-28 14:44:36

seth
Member
Registered: 2012-09-03
Posts: 52,226

Re: [SOLVED]Can not use HP printer

Maybe just the python 3.12 udpate - what's wrong with http://localhost:631 ?

Offline

#4 2024-04-28 21:13:48

loqs
Member
Registered: 2014-03-06
Posts: 17,571

Re: [SOLVED]Can not use HP printer

Should be fixed in hplip 1:3.23.12-5 .

Last edited by loqs (2024-04-28 21:14:11)

Offline

#5 2024-04-29 08:59:38

Rubby
Member
Registered: 2024-04-28
Posts: 3

Re: [SOLVED]Can not use HP printer

Thanks. My problem has been solved by upgrading hplip.

Offline

Board footer

Powered by FluxBB