Python 2.5 now includes the elementTree module, so a fresh install of
python 2.5 should work right out of the box with pydelicious. This is not
currently the case as pydelicous thinks that elementTree only lives in one
place.
What steps will reproduce the problem?
1. download pydelicious
2. At the python prompt, try to import the module:
In [1]: import pydelicious
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback (most recent call last)
92 from StringIO import StringIO
93 #from xml.etree.ElementTree import parse as parse_xml
---> 94 from elementtree.ElementTree import parse as parse_xml
95 #import feedparser
96
<type 'exceptions.ImportError'>: No module named elementtree.ElementTree
What version of the product are you using? On what operating system?
This is version 0.5.0, svn rev 5.
Please provide any additional information below.
I've attached a patch which does a simple conditional import.
Original issue reported on code.google.com by dfdes...@gmail.com on 27 Sep 2007 at 5:54
Original issue reported on code.google.com by
dfdes...@gmail.com
on 27 Sep 2007 at 5:54Attachments: