[GRASS-dev] WxPython GUIs on Debian/stable?

Moritz Lennert mlennert at club.worldonline.be
Wed Oct 25 05:03:36 EDT 2006


Hamish wrote:
> Jachym Cepicky wrote:
>>> # apt-get install libwxgtk2.4-python   # Version: 2.4.3.1
>>>
>>> G:wxpython > r.shaded.relief --interface-description | ./grassgui.py 
>>> Traceback (most recent call last):
>>>   File "./grassgui.py", line 45, in ?
>>>     import subprocess
>>> ImportError: No module named subprocess
>>>
>>>
>>> where do I get "subprocess" ?
>>>
>> subprocess should be part of the python package: 
> 
> $ apt-file search subprocess.py
> python2.4: usr/lib/python2.4/subprocess.py
> 
> 
> so it is.
> 
> I have python 2.3 installed, which doesn't have it.
> 
> 
> and for some reason Debian/Sarge's Wx 2.4 is a python2.3 lib.. ?
> 
> libwxgtk2.4-python: /usr/lib/python2.3/site-packages/wxPython/wx.py


the version of wx is 2.4, the version of python is 2.3

I think that for the wxpython GRASS gui you actually need wx version 2.6 
with python 2.4.

> 
> 
> maybe just wait for Etch to be released..

Yes.

Moritz




More information about the grass-dev mailing list