[GRASS-windows] GUI with python scripts

Markus Neteler neteler at osgeo.org
Thu Jan 21 20:12:31 EST 2010


On Thu, Jan 21, 2010 at 6:19 PM, Ned Horning <horning at amnh.org> wrote:
> Hi - I am starting to write some python scripts for GRASS and when I run
> them in Linux they display a GUI but when I run the same script in Windows
> (6.4.SVN-r40585) I get the output that I get on Linux using the --help flag.
>  I'm using GRASS 6.4.SVN with MSYS and running the python script from the M
> sh terminal window.

Please type
set
and check if GRASS_PYTHON is set to python.

> How do I run python scripts in the Windows version of GRASS so that they
> display a GUI?

How old is your winGRASS installation? There has been a recent bugfix:
 http://trac.osgeo.org/grass/changeset/40435
which may not be present in your (older) installation.

Markus


More information about the grass-windows mailing list