Thank you again, Ed, for doing such a detailed analysis of what needs
to be done to install on the Mac. Thanks to those careful directions,
I found what is perhaps my problem. Let's see if you agree.
I have already installed SIP and PyQt as per their installation
instructions, and already have Qt installed from my own development
work, so I did not do steps 1 and 2 of your detailed instructions.
HOWEVER, I note that I did follow the SIP/PyQt installation
instructions exactly, including the --arch command. So then I move to
your step 3, testing my PyQt installation.
Invoking "import PyQt4" inside Python works fine. But invoking
"import PyQt4.QtCore" gives the following error.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Library/Python/2.6/site-packages/PyQt4/QtCore.so,
2): no suitable image found. Did find:
/Library/Python/2.6/site-packages/PyQt4/QtCore.so: mach-o, but wrong
architecture
Your email seems to suggest that this will be fixed by using the
binary installer to which you link. Will that harm my current Qt
installation in any way? I just want to be sure I understand the
steps I'm taking before I do something bad.
Thank you again for your help!
Nathan
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.