[GRASS-windows] compiling WINGrass Python Scripts - ExpatError

Glynn Clements glynn at gclements.plus.com
Thu Dec 8 14:52:36 EST 2011


Johannes Radinger wrote:

> > You need:
> > 
> > 	set PYTHONPATH=%GISBASE%\etc\python;%PYTHONPATH%
> > 
> > 7.0 does this automatically, but 6.x doesn't.
> 
> Where do I have to set this permanently in Windows? Do I have modify
> a certain file? I'd need to use also my system python (2.6) and its
> modules within the script - will there be conflict?

I suspect that GRASS' Init.bat or env.bat files are the appropriate
place. There's no reason to set it system-wide (i.e. outside of
GRASS).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-windows mailing list