Quick test,with use of virtual environment.
I save my
So now is
Test and
C:\1 λ python -m venv pyqt_5 λ cd pyqt_5 λ C:\1\pyqt_5\Scripts\activate.bat # Environment is active,install into it (pyqt_5) C:\1\pyqt_5\Scripts λ pip install PyQt5 # pyqt5-tools for designer λ pip install pyqt5-toolsI start designer.exe
C:\1\pyqt_5\Lib\site-packages\pyqt5-tools\designer.exe
I save my
test.ui
in C:\1\pyqt_5\Scripts
So now is
test.ui
and pyuic5.exe
in same folder.Test and
app.py
is made correct.(pyqt_5) C:\1\pyqt_5\Scripts λ pyuic5.exe test.ui -o app.py