[GRASS-user] Is this a bug in 8.3.dev?

Rich Shepard rshepard at appl-ecosys.com
Wed May 3 11:18:37 PDT 2023


I have python3-3.9.16 installed on Slackware64-15.0. I'm building from the
github dev source.

When I used d.mon start=wx0 grass told me it could not find a numpy for
python-2.7.x.

Anna suggested I add GRASS_PYTHON to ~/.bash_profile. I did and learned that
`export GRASS_PYTHON=python3-3.9.16` wasn't accepted by grass, neither was
`export GRASS_PYTHON=python` (which is an alias for python3). What seemed to
work was `export GRASS_PYTHON=/usr/bin/python`.

Starting grass to a location's PERMANENT mapset, g.list type=vect tells me I
have a map named metro100 there.

Unfortunately, I cannot start a monitor:
d.mon start=wx0
GRASS metro100/PERMANENT:~ >   File "/usr/local/grass83/gui/wxpython/mapdisp/main.py", line 252
     **args,
           ^
SyntaxError: invalid syntax
^C
GRASS metro100/PERMANENT:~ > d.mon start=wx1
GRASS metro100/PERMANENT:~ >   File "/usr/local/grass83/gui/wxpython/mapdisp/main.py", line 252
     **args,
           ^
SyntaxError: invalid syntax

Is this a bug or something I've done here?

Regards,

Rich



More information about the grass-user mailing list