Cannot install hplip 3.24.4

Asked by borgrel

After downloading the auto installer for hplip 3.24.4 and running it, the following error occurs

borgrel@coffeehouse:~/Downloads$ sh hplip-3.24.4.run
Creating directory hplip-3.24.4
Verifying archive integrity... 100% All good.
Uncompressing HPLIP 3.24.4 Self Extracting Archive 100%
Traceback (most recent call last):
  File "./install.py", line 38, in <module>
    from base.g import *
  File "/home/borgrel/Downloads/hplip-3.24.4/base/g.py", line 133
    log.error(f"Error: {e}. Retrying with read_file")
                                                   ^
SyntaxError: invalid syntax

I have tried with both the ubuntu and zorin version of the installer and get the same error

The version available in apt is 3.20.3 ..... and cannot even find the printer, giving an error with a link to a non-existing page!

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mad brain (madbrain1) said :
#1

I am also experience this issue

Revision history for this message
Bernard Stafford (bernard010) said :
#2

You might try the snap for Ubuntu. It is HPLIP 3.22.

https://snapcraft.io/hplip-printer-app

Revision history for this message
Hugh Hyatt (hughhyatt) said :
#3

I have the same issue, though I only tried the Linux Mint version.

Can you help with this problem?

Provide an answer of your own, or ask borgrel for more information if necessary.

To post a message you must log in.