[XML-SIG] Re: PyXML parser problem

Christoph Michalke chrmic at gmx.de
Fri Mar 5 17:36:55 EST 2004

Bob Robison wrote on Thu Mar 4 23:16:00 EST 2004 in 

> I'm trying to get some existing code running with
> py2exe 0.5.0 and am having some problems.

> However, when I try to use py2exe I get a similar
> problem: The make_parser routine returns:
> xml.sax._exceptions.SAXReaderNotAvailable: No parsers found.

> I'm using py2exe 0.5.0, Python 2.3.3, and PyXML
> 0.8.3 on Windows 2000.

For me the following worked with py2exe 0.4.2, Python 2.3.3, PyXML 0.8.3 on 
Windows XP:

setup.py py2exe --includes xml.sax.drivers2.drv_pyexpat --packages encodings --
force-imports encodings

Using "-p xml" or "-p _xmlplus" instead of "--includes xml.sax.drivers2.drv_pyexpat" 
didn't work for me, but are suggested elsewhere.

Also note that py2exe 0.4.2 and 0.5.0 differ a bit, but probably only in other 

Chris M.

More information about the XML-SIG mailing list