0

Hey All,
I have written a script that uses elementTree to work on python 2.4. Took quite a while and worked a threat but now I need to get it working on 2.3.4. I can't upgrade the version of python. Is there an equivelent version of the element tree for 2.3.4????

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by bertm81
0

My program starts with

from lxml import etree

but I get

ImportError: No module named lxml

and if I try to install the lxml library It tells me I need 2.4

0

OK. Found I need lxml-1.3.4 installed and then use xpath() instead of findall()
Thanks for the reply :-)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.