hplip install

Ben Greiner code-pyqt at bnavigator.de
Mon Jul 19 11:32:55 BST 2021


Hi,

Am 19.07.21 um 11:52 schrieb Florian Bruhin:
>> Running 'sudo apt-get install --assume-yes python-pyqt5'
>> Please wait, this may take several minutes...
>> error: Command failed. Re-try #1...
>>
>> [...]
>>
>> Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
>> Please wait, this may take several minutes...
>> error: Command failed. Re-try #1...
> What happens if you run:
>
>    sudo apt install python-pyqt5 python-dbus.mainloop.pyqt5
>
> manually?
>
> Florian

Those commands would install Python2 packages if they would still exist 
in Ubuntu 20.04. Hence probably the deprecation message Henk is seeing 
(but did not post).

The correct command would be:

     sudo apt-get install python3-pyqt5 python3-dbus.mainloop.pyqt5

Now, why HPLIP tries to install the python2 packages is another question.

Ben



More information about the PyQt mailing list