[GRASS-user] Specifying wxPython version at grass start

Anna Petrášová kratochanna at gmail.com
Thu Sep 1 05:46:23 PDT 2016


On Thu, Sep 1, 2016 at 4:22 AM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> 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

there is en error: invalid literal for int() with base 10: 'wx'.

What does this output?

import wx
print wx.__version__


>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list