[GRASS-windows] Fwd: WinGRASS installation and addtional python modules

Johannes Radinger JRadinger at gmx.at
Thu May 19 05:58:07 EDT 2011


-------- Original-Nachricht --------
> Datum: Thu, 19 May 2011 06:29:47 +0100
> Von: Glynn Clements <glynn at gclements.plus.com>
> An: "Johannes Radinger" <JRadinger at gmx.at>
> CC: grass-windows at lists.osgeo.org
> Betreff: Re: [GRASS-windows] Fwd: WinGRASS installation and addtional python	modules

> 
> Johannes Radinger wrote:
> 
> > > The WinGRASS package tries to bundle Python, which causes problems if
> > > you want to write Python scripts for GRASS. You should remove both the
> > > bundled Python and any references to it.
> > 
> > So if I understand you correctly I can do as a 6th step the removing
> > of the python2.5 which comes with winGRASS. What do you mean exactly
> > with removing, deleting the python2.5 folder in
> > programms/grass6.4.1/?
> 
> Yes.
> 
> > Which references have to be removed? There were no environemental
> > variables created during the winGRASS installation pointing to
> > Python25 (the winGRASS python).
> 
> The environment variables are set in the batch file which is used to
> start GRASS.
> 
> PYTHONHOME should not be set, and there should be no references to the
> bundled Python25 directory in PYTHONPATH or PATH.


Okay what I did now is to delete the python25 folder in the wingrass installation (only that folder nothing else)

I checked the batchfile (grass64) which includes:
@echo off
rem #########################################################################
rem #
rem # File dynamically created by NSIS installer script;
rem #
rem #########################################################################
rem #
rem # GRASS Initialization
rem #
rem #########################################################################

rem Set GRASS Installation Directory Variable
set GISBASE=C:\Program Files (x86)\GRASS 6.4.1

set PATH=C:\Program Files\R\R-2.12.0\bin;%PATH%

call "%GISBASE%\etc\env.bat"

"%WINGISBASE%\etc\Init.bat" %*

In the envvariables in windows there is no PYTHONHOME and PYTHONPATH is set to %GISBASE%\etc\python and GRASS_PYTHON is set to C:\Python27\python

If I try now to start winGRASS nothing happens...

did I miss something?

/johannes


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

-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the grass-windows mailing list