In this video I show the steps on how to install PyQt 4 on Elementary OS which should work on all Ubuntu based Linux distributions.
I already had PyQt 5 installed but my study guide requires PyQt 4 so I decided to install and run both on my system.
Here’s the steps:
- Open a terminal and run the below to install PyQt 4
- sudo apt-get install python3-pyqt4
- sudo apt-get install libqt4-dev
- sudo apt-get install python-qt4 qt4-dev-tools python-qt4-dev pyqt4-dev-tools
Here’s a video if that’s more to your liking: