[GRASS-windows] Re: r.basin for windows [was Re: WinGrass6.5.svn-installer with selected addons]

Helmut Kudrnovsky hellik at web.de
Sun Oct 23 11:17:22 EDT 2011


>> GRASS 6.5> cmd /c testpython
>> C:\Program Files\GRASS 6.5.SVN\Python25
>
>This indicates that PYTHONHOME is pointing at the bundled version.
>
>> 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
>> GRASS 6.5>
>
>This indicates that the Python interpreter is the installed version.
>
>My guess is that the command is executing the .py file directly,
>rather than the batch file.
>
>Is %GISBASE%\scripts in the path? 

yes, it is set in C:\Program Files\GRASS 6.5.SVN\etc\env.bat:

rem Set Path to utilities (libraries and binaries) used by GRASS
set PATH=%GISBASE%\msys\bin;%PATH%
set PATH=%GISBASE%\extrabin;%GISBASE%\extralib;%PATH%
set PATH=%GISBASE%\tcl-tk\bin;%GISBASE%\sqlite\bin;%GISBASE%\gpsbabel;%PATH%
set PATH=%GISBASE%\bin;%GISBASE%\scripts;%PATH%
[...]
rem Path to the python directory
set PYTHONHOME=%GISBASE%\Python25
if "x%GRASS_PYTHON%" == "x" set GRASS_PYTHON=python

Helmut


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WinGrass6-5-svn-installer-with-selected-addons-tp6873977p6922190.html
Sent from the Grass - Win mailing list archive at Nabble.com.


More information about the grass-windows mailing list