How to install PyQt on Mac OS X 10.6

Solution 1:

A new version of Qt, esp. Qt 4.7 Beta, seems to fix this problem.

http://qt.nokia.com/developer/qt-qtcreator-prerelease

Solution 2:

You can also use MacPorts to install pyqt, qt, and many other packages. I haven't used the pyat package, but in general I've been pleased with MacPorts. It also makes it easy to update various packages as bew versions come out.

Solution 3:

It worked without problems via Homebrew:

brew install pyqt

Note that there was also PySide. Although that seems like it is abandoned and does not support Qt 5. You probably can install it anyway via:

brew install pyside