Install python3-pyqt5 by entering the following commands in the terminal:
sudo apt update sudo apt install python3-pyqt5
Description:
Python 3 bindings for Qt5
PyQt5 exposes the Qt5 API to Python 3. This package contains the following modules: * QtCore * QtDBus * QtDesigner * QtGui * QtHelp * QtNetwork * QtPrintSupport * QtTest * QtWidgets * QtXml
Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/
Version: 5.10.1+dfsg-1ubuntu2
Section: universe/python