Skip to content Skip to sidebar Skip to footer

Pyqt Installation Problem In Mac Osx Snow Leopard

I'm following a tutorial of making desktop apps. with python and qt4, I downloaded and installed qt creator ide, created the .ui file and then I had to convert it using pyuic4, I'v

Solution 1:

I've solved it, you have to use the python of macports instead of the default that comes with OS X, to do that install python_select through macports:

sudo port install python_select
sudo python_select python26

Solution 2:

I made some notes on building and install PyQt4 on Mac Snow Leopard.

The order is important, and there are some quirks with 64-bit libraries. The default Mac Qt libs are Carbon (32 bit), whereas Mac system Python is 64 bit and needs the Cocoa libs.

Solution 3:

I spent a while finding the package name in Homebrew. It seems to be:

brew install pyqt

Post a Comment for "Pyqt Installation Problem In Mac Osx Snow Leopard"