Hi,

It's me the trouble maker again....
I ran into an issue trying to use the version of pyqt that is 
recommended on the blog here:

http://www.pythonocc.org/pythonocc-0.4-macosx/PyQt4.7-MacOSX-SL-64.zip

I did end up installing it here:

/Users/owner/Library/Python/2.6/site-packages/PyQt4/

When I try to actually test it, I get this:

ow...@~: python
Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> from PyQt4.QtCore import *
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: 
dlopen(/Users/owner/Library/Python/2.6/site-packages/PyQt4/QtCore.so, 
2): no suitable image found.  Did find:
     /Users/owner/Library/Python/2.6/site-packages/PyQt4/QtCore.so: 
mach-o, but wrong architecture
 >>>

Any ideas? I'm wondering if it's 64 bit related.

I can switch between different versions of python here. For this test, I 
did this:

ow...@~: defaults write com.apple.versioner.python Prefer-64-Bit -bool yes

to set my python version.

Thanks,
Dan

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to