[GRASS-dev] Re: [GRASS-user] wxgui issue ( No module named wx)
Hamish
hamish_b at yahoo.com
Mon Feb 11 22:51:43 EST 2008
> Carlos Guâno Grohmann wrote:
> > Hi, I just updated from svn, to test the new wxgui, but I got some
> > errors:
> >
> > GRASS 6.3.svn (amsul_wgs84):~ > Traceback (most recent call last):
> > File "/usr/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 53,
> > in <module>
> > import gui_modules.utils as utils
> > File
> > "/usr/local/grass-6.3.svn/etc/wxpython/gui_modules/utils.py",
> > line 20, in <module>
> > import gcmd
> > File "/usr/local/grass-6.3.svn/etc/wxpython/gui_modules/gcmd.py",
> > line 29, in <module>
> > import wx
> > ImportError: No module named wx
> >
> >
> > Should I just rename some file? Or is it more serious?
Martin Landa wrote:
> no, you just need to install wxPython >= 2.8.1, see
> http://svn.osgeo.org/grass/grass/trunk/gui/wxpython/README
Hi,
can a runtime check for that be added to the wx startup script?
If determining the wxPython version is problematic can it just catch
the error if the wx module isn't found and add to the error message
that your wx version might be too old? I expect after 6.3+wx is
released we'll get this FAQ frequently...
thanks,
Hamish
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the grass-dev
mailing list