I'm stuck at the very first step of converting the .ui file created with QT Designer into a .py file.
System details (all programs in PATH):
- Windows 8
- Python 3.4.3-x32
- Qt 5.4.1 x32
- PyQT 5.4.1-Py3.4-Qt5.4.1-x32
PYTHONPATH
isC:\python34
In a terminal window, from the directory containing the .ui file I run this command:
pyuic5 -x mainform.ui -o mainform.py
This raises the error:
C:\python34\python.exe: Error while finding spec for 'PyQt5.uic.pyuic' (: No module named 'PyQt.uic.port_v3')
I tried to uninstall and reinstall python, Qt and PyQt (in this order), but the error persists.
As a workaround I'm using PySide but, since the PySide project seems frozen in the last two years and doesn't support Qt 5 I'd switch to PyQt5.