Re: Assistant trouble shooting 'ImportError: No module named dom.ext.reader'

"Fred L. Drake, Jr." <[email protected]>
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
On Tuesday 16 August 2005 14:09, Hardison Leif wrote:
 > The error I'm receiving when running an example file is:
 >
 > my-host:/home/.../scripts# /usr/local/bin/python xml2.py
 > Traceback (most recent call last):
 >   File "xml2.py", line 2, in ?
 >     from xml.dom.ext.reader import Sax2
 >   File "/home/.../scripts/xml.py", line 1, in ?
 >     from xml.dom.ext.reader import Sax2
 > ImportError: No module named dom.ext.reader

It looks like you have a file "xml.py" on your sys.path before the PyXML 
installation or the standard library.  Is there an "xml.py" in the same 
directory as your xml2.py script?


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>
_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.