When you install PyQt , it gets the installation under Python site-packages .
There is a batch file pyuic.bat in <PYTHON_INSTALL_DIR>\Lib\site-packages\PyQt4 . Use this command to run your command.
If you look at the contents of the batch file, you will see that it invokes the Python interpreter with PyQt4\uic\pyuic.py and these arguments.
source share