using xmpl.parsers.expat

Skip Montanaro skip at pobox.com
Wed Oct 3 22:00:08 EDT 2001


    Rajarshi> When I try and do:

    >>>> import xml.parsers.expat

    Rajarshi> I get the following error:

    Rajarshi> Traceback (most recent call last):
    Rajarshi>   File "<stdin>", line 1, in ?
    Rajarshi>   File 
    Rajarshi> "/usr/src/build/42396-i386/install/usr/lib/python2.2/xml/parsers/expat.py", 
    Rajarshi> line 4, in ?
    Rajarshi> ImportError: No module named pyexpat

    Rajarshi> Where is the module pyexpat supposed to come from?

I believe you have to download, compile, and install it yourself, but you
might get lucky and find an RPM somewhere.  Try googling for pyexpat or
check out the expat project page:

    http://expat.sf.net/

or the XML-SIG page:

    http://www.python.org/sigs/xml-sig/

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list