python w/expat compiled on one box doesn't work on another

Fredrik Lundh fredrik at
Thu Dec 11 08:01:14 CET 2003

"Doug" wrote:

> Can someone point me in the right direction as to why it doesn't find
> the expat parser on the other machine.  I can see the expat files in the
> /usr/local/lib/python2.2/xml/parsers directory.

the xml/parsers directory contains the Python parts of the expat interface,
but there's also a binary module (usually called "").

what happens if you import pyexpat directly?

    >>> import pyexpat


More information about the Python-list mailing list