Install PyQt on Windows
Installing Python 3 and PyQt5 on Windows.
Windows 10 or later
Step 1: Python installation
- go to the Python website and download the latest version for Windows
- then launch the installation of Python using the downloaded file
- select Customize installation
- skip the first screen by clicking on Next
- select Install Python 3.xx for all users and Add Python to environnement variables then click on Install
Step 2: PyQt5 installation
- enter the 3 letters cmd in the search box at the bottom left (then validate) or search in the menu to find the Command Prompt program
- here is the black Command Prompt window
- in this window, copy and paste the text below and validate with the enter key:
pip install PyQt5 PyQtWebEngine
You can also write it but you must not make any mistake (even with upper-lower case) - once the installation is finished you can close the window
Older Windows
download and install in the order the following programs:
- python-3.5.4-amd64.exe (Python installation)
- PyQt5-5.6-gpl-Py3.5-Qt5.6.0-x64-2.exe (PyQt installation)
Last modification of this page: 2022-10-24.