Doesn't work python python2.5
Bug #84687 reported by
Guillaume Desmottes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
elementtree (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm using Feisty.
cassidy@cass-wks:~$ python2.4
Python 2.4.4 (#2, Feb 5 2007, 17:46:20)
[GCC 4.1.2 20070129 (prerelease) (Ubuntu 4.1.1-31ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import elementtree.
>>>
cassidy@cass-wks:~$ python2.5
Python 2.5 (release25-maint, Feb 5 2007, 02:52:52)
[GCC 4.1.2 20070129 (prerelease) (Ubuntu 4.1.1-31ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import elementtree.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named elementtree.
To post a comment you must log in.
Ok, it seems this module is now shipped with python2.5 and we have to use xml.etree. ElementTree instead of elementtree. ElementTree.
Bug closed.