Install python-pyqt5.qtserialport by entering the following commands in the terminal:
sudo apt update sudo apt install python-pyqt5.qtserialport
Description:
Python 2 bindings for QtSerialPort module
The QtSerialPort module of PyQt5 provides a set of APIs to use serial ports from PyQt applications. . This package contains the Python 2 version of this module.
Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/
Version: 5.10.1+dfsg-1ubuntu2
Section: universe/python