In the lastest python 2.5 build for Macintosh, the pyexpat module binary is
not available to Mac users with Intel processors. If you try to import it,
you get an error saying that the binary is for PPC architecture only.   This
is a bug introduced in Python 2.5, since it does not exist in Python 2.4.

How can we go about fixing this?

  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/_xmlplus/parsers/expat.py",
line 4, in <module>
    from pyexpat import *
ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/_xmlplus/parsers/pyexpat.so,
2): no suitable image found.  Did find:

/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/_xmlplus/parsers/pyexpat.so:
mach-o, but wrong architecture

thanks
S
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to