Suggested Install Method
Windows: Download and run the binary setup file.
Linux(Debian): Run this command in your command line:
$ apt-get install python-qt4 pyqt4-dev-tools qt4-designer
OS X : Run this command in your command line:
$ brew install pyqt
Install Manually
You can also download the source code manually from here and then install and configure it yourself.
Test your installation
If pyqt is installed correctly, you will be able to run the pyuic4
command. If it is installed correctly, you will see the following error:
$ pyuic4
Error: one input ui-file must be specified
Installation Complete
You have now installed the PyQt4 library. Two useful applications have also been installed along side PyQt4:
.ui
files),.ui
files into Python code.