A required dependency 'python3-pyqt5' is still missing

Asked by Robert Stagner

When I attempt to install HPLIP (v3.23.8) on my Ubuntu 22.04 system, I get the following errors

error: A required dependency 'python3-pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))' is still missing.
error: A required dependency 'python3-dbus (Python DBus - Python bindings for DBus)' is still missing.
error: Installation cannot continue without these dependencies.

Yet, when I check to see if these dependencies are installed
$ sudo apt list python3-dbus python3-pyqt5

Listing... Done
python3-dbus/jammy,now 1.2.18-3build1 amd64 [installed]
python3-pyqt5/jammy,now 5.15.6+dfsg-1ubuntu3 amd64 [installed]

So, the dependencies are INSTALLED :-). What am I missing or what am I doing wrong?

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

If you are running Ubuntu, then you better install the modified HPLIP package from the Ubuntu repositories instead of the original package from the HP pages (unless you need the newest version for your devices).

sudo apt install hplip hplip-gui

Revision history for this message
Robert Stagner (restagner) said :
#2

Thanks. Installing hplip and hplip-gui worked for me!!

Where is this information located in the documentation? I seemed to miss
this bit of information.

On Mon, Oct 30, 2023 at 5:01 AM Manfred Hampl <
<email address hidden>> wrote:

> Your question #708321 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/708321
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> If you are running Ubuntu, then you better install the modified HPLIP
> package from the Ubuntu repositories instead of the original package
> from the HP pages (unless you need the newest version for your devices).
>
> sudo apt install hplip hplip-gui
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/708321/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/708321
>
> You received this question notification because you asked the question.
>

--
Regards,
Robert

   - *The human race has one really effective weapon, and that is laughter.*
   - *If you tell the truth, you don't have to remember anything.*
   - *Whenever you find yourself on the side of the majority, it is time to
   pause and reflect.*

* -- Mark Twain*

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

It is general advice for Ubuntu systems, to install software from the Ubuntu repositories whenever possible, because that has been verified to work with other Ubuntu packages.

Can you help with this problem?

Provide an answer of your own, or ask Robert Stagner for more information if necessary.

To post a message you must log in.