[GRASS-dev] compile error in grass-6.4.0RC1/gui/wxpython

Martin Landa landa.martin at gmail.com
Thu Jan 8 09:20:55 EST 2009


Hi,

2009/1/7 Glynn Clements <glynn at gclements.plus.com>:
>
> Martin Landa wrote:
>
>> > make[3]: Entering directory
>> > `/usr/src/packages/BUILD/grass-6.4.0RC1/gui/wxpython' python
>> > gui_modules/menudata.py
>> > /usr/src/packages/BUILD/grass-6.4.0RC1/dist.i686-pc-linux-gnu > menustrings.py
>> > Traceback (most recent call last): File "gui_modules/menudata.py", line 24, in
>> > <module> import elementtree.ElementTree as etree # Python <= 2.4
>> > ImportError: No module named elementtree.ElementTree
>>
>> in Debian it's python-elementtree.
>
> What? As in, they renamed the module so it doesn't work?
>
> elementtree.ElementTree (xml.etree.ElementTree in >= 2.5) is part of
> the core Python library, which is expected to be installed alongside
> Python.

hm, it seems to me that if you are using python <= 2.4 you need to
install python-elementtree package - at least on Debian.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list