Pyqt4 in Ubuntu 20.04

Viewed 16210

How to install Pyqt4 in ubuntu 20.04
I have already tried all the commands:

sudo apt-get install python-qt4
sudo apt-get install libqt4-dev
sudo apt-get install pyqt4-dev-tools
sudo apt-get install pyqt4.qsci-dev
sudo apt install python3-pyqt4

But it kept on saying module has no installation candidate although pyqt5 is running smoothly but code is too long for changing it to pyqt5

2 Answers

I am actually stucked to install something which required PyQt4 on Ubuntu 20.04, the only solution I've got is to install Qt4 Library that way

  1. sudo add-apt-repository ppa:rock-core/qt4

  2. sudo apt update

  3. sudo apt install libqt4-declarative libqt4* libqtcore4 libqtgui4 libqtwebkit4 qt4*

Hope that will help you a little bit more

Related