Skip to content
Advertisement

python.exe: No module named pyuic5

I want to convert my .ui file to py but pyuic5 is not recognized

enter image description here

And when i go to my python directory this error message appears

enter image description here

how to fix this error?

Advertisement

Answer

A more generic option is:

python -m PyQt5.uic.pyuic filename.ui -o filename.py -x
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement