我在 ubuntu 16.4 上,安装了更新和升级的 hplip 和 hplip-gui。现在,我尝试安装 hp 激光打印机 M 15w。
安装例程找到了打印机,但是由于回溯而崩溃:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/wifisetupdialog.py", line 754, in NextButton_clicked
self.showExitPage()
File "/usr/share/hplip/ui5/wifisetupdialog.py", line 573, in showExitPage
self.ip, subnetmask, gateway, pri_dns, sec_dns, addressmode = self.wifiobj.getwifiotherdetails(self.dev,self.adapterName)
AttributeError: 'WifiSetupDialog' object has no attribute 'wifiobj'
这发生在安装过程完成之前。
命令
apt-cache policy hplip hplip-data; python3 -V; python -V
给出:
hplip:
Installiert: 3.17.10+repack0-5
Installationskandidat: 3.17.10+repack0-5
Versionstabelle:
*** 3.17.10+repack0-5 500
500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
hplip-data:
Installiert: 3.17.10+repack0-5
Installationskandidat: 3.17.10+repack0-5
Versionstabelle:
*** 3.17.10+repack0-5 500
500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu bionic/main i386 Packages
100 /var/lib/dpkg/status
Python 3.6.9
Python 2.7.17