Still wrong architecture on Snow Leopard

X

Xiao Yu

Hi everyone,

I have Snow Leopard and followed 4.6.1 snapshot 20091010's reference
3.4 instructions to configure both SIP and PyQt in i386. Everything
installed fine but when I open Python and tried to import ImageQt, I
get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.6/site-packages/PIL/ImageQt.py", line 20,
in <module>
from PyQt4.QtGui import QImage, qRgb
ImportError: dlopen(/Library/Python/2.6/site-packages/PyQt4/QtGui.so,
2): no suitable image found. Did find:
/Library/Python/2.6/site-packages/PyQt4/QtGui.so: mach-o, but wrong
architecture

What am I still doing wrong? Is there a specific way I have to run
Python etc?

Regards,
Xiao
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top