Install python3-pyqt5.qtopengl by entering the following commands in the terminal:
sudo apt update sudo apt install python3-pyqt5.qtopengl
Description:
Python 3 bindings for Qt5's OpenGL module
The OpenGL module of PyQt5 provides widgets and utility classes for OpenGL rendering in a PyQt5 application. . This package contains the Python 3 version of this module.
Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/
Version: 5.10.1+dfsg-1ubuntu2
Section: universe/python