[GRASS-user] Specifying wxPython version at grass start

Moritz Lennert mlennert at club.worldonline.be
Thu Sep 1 01:22:32 PDT 2016


On 31/08/16 21:53, Rich Shepard wrote:
>    I have two versions of wxPython installed: 2.8.12.1 (for python2) and
> 3.0.2.0 (for python3). When I try to invoke grass72 I get this error:
>
> Starting GRASS GIS...
> ERROR: wxGUI requires wxPython >= 2.8.10.1. invalid literal for int() with
> base 10: 'wx'.
> ERROR: Error in GUI startup. See messages above (if any) and if necessary,
> please report this error to the GRASS developers.
> On systems with package manager, make sure you have the right GUI package,
> probably named grass-gui, installed.
> To run GRASS GIS in text mode use the -text flag.
> Use '--help' for further options
>       grass72 --help
> See also: https://grass.osgeo.org/grass72/manuals/helptext.html
> Exiting...
>
>    Is there a command line option to specify wxPython-2.8.12.1 when invoking
> grass72? I don't see one here:
> <https://grass.osgeo.org/grass72/manuals/grass7.html>.

I run GRASS here with wx 3.0.2 and it works fine. The error message 
seems to imply that there is another wxpython installed on your system 
that is < 2.8.10. Is that so ? You might want to check that first, 
before trying to find unnecessary workarounds.

Moritz


More information about the grass-user mailing list