Want to install HPLIP version 3.18.12.run

Asked by D. Krause-Harder

Could not install latest HPLIP-version 3.21.8 because of system error, no previous version found in https://developers.hp.com/hp-linux-imaging-and-printing/gethplip?language=de.
Please indicate source where I can download HPLP-3.18.12.run
Thanks in advance
D. Kraue-Harder

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1
Revision history for this message
D. Krause-Harder (diekraha) said :
#2

Hello,

unfortunately, I made some mistakes during installation of the latest
HPLIP versin 3.21.8 yesterday because python problems were indicated.
(I'm not familiar with ubuntu internals).
The installatin stopped with the protocol I attached.
By the way, do you speak germen?

Regards

Dieter Krause-Harder
Alte Rommelshauser Str. 39
D-71332 Waiblingen
Tel. 07151-35107
Mobil 015168189680
Fax 032223789384

Revision history for this message
D. Krause-Harder (diekraha) said :
#3

This protocol was shown after error stop:

/home/kh/Downloads/hplip-3.18.12/base/utils.py:2060: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if weburl is "" or weburl is None:

HP Linux Imaging and Printing System (ver. 3.18.12)
HPLIP Installer ver. 5.1

Copyright (c) 2001-15 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.

Installer log saved in: hplip-install_Mon-01-Nov-2021_15:02:51.log

/home/kh/Downloads/hplip-3.18.12/installer/core_install.py:2058: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if home_dir is "":
Traceback (most recent call last):
  File "./install.py", line 241, in <module>
    text_install.start(language, auto, test_depends, test_unknown, assume_network, max_retries, enable, disable)
  File "/home/kh/Downloads/hplip-3.18.12/installer/text_install.py", line 63, in start
    core = CoreInstall(MODE_INSTALLER, INTERACTIVE_MODE)
  File "/home/kh/Downloads/hplip-3.18.12/installer/core_install.py", line 240, in __init__
    self.passwordObj = password.Password(ui_mode)
  File "/home/kh/Downloads/hplip-3.18.12/base/password.py", line 113, in __init__
    self.__readAuthType() # self.__authType
  File "/home/kh/Downloads/hplip-3.18.12/base/password.py", line 135, in __readAuthType
    distro_name = get_distro_name().lower()
  File "/home/kh/Downloads/hplip-3.18.12/base/password.py", line 81, in get_distro_name
    os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'
kh@kh-OptiPlex-760:~/Downloads$

Revision history for this message
D. Krause-Harder (diekraha) said :
#4

Am 01.11.21 um 15:20 schrieb D. Krause-Harder:
> *AttributeError: module 'platform' has no attribute 'dist'*

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Wenn es um ein Ubuntu-System geht, dann ist es meistens besser, nicht die HPLIP-Version von den HP-Seiten, sondern die modifizierte Version aus den Ubuntu-Repositories zu installieren.

sudo apt install hplip-gui

Revision history for this message
D. Krause-Harder (diekraha) said :
#6

Herzlichen Dank für den Hinweis -
nach jetzt geschätzten 20 Jahren mit dem HP-Drucker
ein echter Fortschritt!

Ein guter Support !

Dieter Krause-Harder
Alte Rommelshauser Str. 39
D-71332 Waiblingen
Tel. 07151-35107
Mobil 015168189680
Fax 032223789384

Am 01.11.21 um 16:01 schrieb Manfred Hampl:
> sudo apt install hplip-gui

Revision history for this message
D. Krause-Harder (diekraha) said :
#7

Thanks Manfred Hampl, that solved my question.