Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.


Support
Forums

How to install pyqt4 in Ubuntu 24.04

Dell Latitude E5570 running Ubuntu 24.04 and Python3 When installing HPLIP it required pyqt4 and pyqt5. I could install pyqt5 successfully at the terminal but the system couldn’t find pyqt4. I get: keith@E5570:~$ sudo apt-get install py...

Dell Latitude E5570 running Ubuntu 24.04 and Python3

When installing HPLIP it required pyqt4 and pyqt5. I could install pyqt5 successfully at the terminal but the system couldn’t find pyqt4. I get:

keith@E5570:~$ sudo apt-get install pyqt4
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package pyqt4
keith@E5570:~$

The result is that although the main features of HPLIP are available, its GUI, with the options to change settings , is not.

A web search reveals answers for installation on Python2, and earlier versions of Ubuntu but mostly not helpful. This link looks the most straightforward but, again, it’s very out of date. Trying it anyway, I get this after sudo apt update:
.
.

Reading package lists… Done
E: The repository ‘Index of /rock-core/qt4/ubuntu noble Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
keith@E5570:~$

I would welcome any advice.

2 posts - 2 participants

Read full topic