When you try to convert a .ui file to .py format, the following error occurs:

ImportError: DLL load failed: The specified module was not found.

Full text of the error: enter image description here

How to fix it? PATH seems to have prescribed Here are the screenshots: enter image description here

enter image description here

  • Type from the console (CMD) pyuic5 test.ui -o test.py -x - S. Nick
  • @ S.Nick does not work, the same error - Arsen_Aganesov

1 answer 1

Fixed the bug by running the command:

pyuic5 test.ui -o test.py

Through terminal in PyCharm. Just put the file in the directory with everyone, run the command and the file was converted