xml install problem - No module named Node
Harry George
hgg9140 at cola.ca.boeing.com
Thu Feb 1 09:59:17 EST 2001
I wonder if it was a typo in the example. Seems to me it should read:
from xml.dom.minidom import Node
or maybe
from xml.dom.minidom import *
Tushar Wagle <tushar at hursley.ibm.com> writes:
> I'm trying to use the new XML library in Python 2.0, but cannot
> get the examples to work.
>
> The error I get when running the iterator1.py example is:
>
> File: "iterator1.py", line 5, in ?
> from xml.dom.Node import Node
> ImportError: No module named Node
>
> which looks like a basic installation error. However, some of the other examples
>
> work, and the directories look populated. I looked in
> /usr/local/lib/python2.0/site-packages/_xmlplus/dom and there is
> no Node.py file....
>
> I'm running RedHat 6.2, Python 2.0 and PyXML 0.6.3 (I tried the rpm and
> rebuilding from source with no luck either way).
>
> What's wrong?
>
> All help appreciated! :)
>
> - Tushar.
>
>
--
Harry George E-mail: harry.g.george at boeing.com
The Boeing Company Renton: (425) 237-6915
P. O. Box 3707 02-CA Everett: (425) 266-3868
Seattle, WA 98124-2207 Page: (425) 631-8803
More information about the Python-list
mailing list