How to install PyQt on Mac OS X 10.6

Posted by Albert on Super User See other posts from Super User or by Albert
Published on 2010-07-06T16:24:44Z Indexed on 2012/06/28 21:19 UTC
Read the original article Hit count: 225

Filed under:
|
|
|

I want to install PyQt. This seems kind of complicated to install on OS X. I haven't found any precompiled packages of it (are there any? I would really prefer those).

So I downloaded PyQt. And SIP, because it depends on that. These files:

Did a python configure.py && make && sudo make install on SIP -- installed without any problems.

Tried the same on PyQt -- and failed of course:

/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error "You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration."

Ok, so I tried with python configure.py --use-arch=i386. Same error.

Any idea?

© Super User or respective owner

Related posts about osx

Related posts about osx-snow-leopard