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