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: 252
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:
- http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.7.3.tar.gz
- http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.10.2.tar.gz
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