How to Install PyQt5 in Ubuntu 18.04 19.04
How to Install PyQt5 in Ubuntu 18.04 19.04
sudo -H python3 -m pip install pyqt5
import sys
from PyQt5.QtWidgets import *
app = QApplication(sys.argv)
button = QPushButton(“Hello World”, None)
button.show()
app.exec_()
ubuntu