SAXReaderNotAvailble: No parsers found

Vincent Yau yauv at ohsu.edu
Mon May 12 19:26:12 EDT 2003


Dear All:

I am trying to use Python SAX API to parse XML files.  I do see expat.py

somewhere underneath my Python 2.1.1 installation (on Solaris).

But I got this error when invoking the xml.sax.make_parser() call.  Any
tip/help much appreciated.

----------------  ERROR -----------------------

Traceback (most recent call last):
  File "./test4.py", line 5, in ?
    parser = xml.sax.make_parser()
  File "/usr/local/lib/python2.1/xml/sax/__init__.py", line 88, in
make_parser
    raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

-------------------------------

thanks

--Vincent






More information about the Python-list mailing list