Can't setup wifi printer connected to usb with hplip
by Nille_kungen from LinuxQuestions.org on (#5M0GW)
I can't setup my HP smart tank 450 wifi printer connected to usb with hplip.
Earlier i was able to setup the network when USB connected but now it doesn't find any printer.
I can add it as a usb printer an use it with usb and if i run setup on another OS i am able to add the wifi printer but setup wifi doesn't work from slackware64-current.
https://imgur.com/a/xCz2sbG
https://pastebin.com/seYHfxnh
Code:error: policykit PolicyKit - Administrative policy framework OPTIONAL - 0.119 MISSING 'policykit needs to be installed'
error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'I do have polkit-0.119 installed
Code:Traceback (most recent call last):
File "/usr/bin/hp-check", line 862, in <module>
num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
File "/usr/bin/hp-check", line 367, in validate
self.__update_deps_info(supported_distro_vrs, dep,
File "/usr/bin/hp-check", line 210, in __update_deps_info
installed_ver = self.core.version_func[deps_info[6]]()
File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
from PyQt4 import QtCore
ImportError: cannot import name 'QtCore' from 'PyQt4' (unknown location)


Earlier i was able to setup the network when USB connected but now it doesn't find any printer.
I can add it as a usb printer an use it with usb and if i run setup on another OS i am able to add the wifi printer but setup wifi doesn't work from slackware64-current.
https://imgur.com/a/xCz2sbG
https://pastebin.com/seYHfxnh
Code:error: policykit PolicyKit - Administrative policy framework OPTIONAL - 0.119 MISSING 'policykit needs to be installed'
error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'I do have polkit-0.119 installed
Code:Traceback (most recent call last):
File "/usr/bin/hp-check", line 862, in <module>
num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
File "/usr/bin/hp-check", line 367, in validate
self.__update_deps_info(supported_distro_vrs, dep,
File "/usr/bin/hp-check", line 210, in __update_deps_info
installed_ver = self.core.version_func[deps_info[6]]()
File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
from PyQt4 import QtCore
ImportError: cannot import name 'QtCore' from 'PyQt4' (unknown location)