'Qt Designer code generation failed : UIC Errror

I've created a UI file and tried to convert it to py file. It always show up an "usage pyuic[option] uic: error: no such option: -g I can't find any solutions about this error

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source