pip3 pyqt5 code example Example 1: install pyqt5 pip install PyQt5 Example 2: pyqt install pip install pyqt5