Hello. Yesterday I tried to install an HP Laserjet P1102, and when the program tries to download the plugging, it failed:
Checking for network connection... Downloading plug-in from: Traceback (most recent call last): File "/usr/share/hplip/base/password.py", line 84, in get_distro_name os_name = platform.dist()[0] AttributeError: module 'platform' has no attribute 'dist' I'm not a python expert but it seems platform.dist() is not longer available in python 3.8. A quick and dirty fix is to edit the file /usr/share/hplip/base/password.py and around line 84 edit this: try: os_name = 'debian' except AttributeError: import distro os_name = distro.linux_distribution()[0] into this try: #os_name = platform.dist()[0] os_name = 'debian' except AttributeError: import distro os_name = distro.linux_distribution()[0] In this way the plugin downloads and install just fine. I hope this helps someone.