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

Johannes Radinger JRadinger at gmx.at
Fri May 20 03:41:33 EDT 2011


Hej,
Am 19.05.2011 um 20:59 schrieb Helmut Kudrnovsky:

>>> call "%GISBASE%\etc\env.bat">
>> You should probably look at this.
>>
>> just have a look in the source
>> http://trac.osgeo.org/grass/browser/grass/branches/ 
>> releasebranch_6_4/mswindows/env.bat#L32
>>
>> rem Path to the python directory
>> set PYTHONHOME=%GISBASE%\Python25
>> if "x%GRASS_PYTHON%" == "x" set GRASS_PYTHON=python

So what I did now so far is:
1) Deleted the Grass\python25 folder
2) created the env. variables: PYTHONPATH (set to %GISBASE%\etc\python)
     and GRASS_PYTHON (set to C:\Python27\python.exe)
3) In env.bat: I tried to delete the line "set PYTHONHOME=%GISBASE% 
\Python25" and I tried to replace it with "set PYTHONHOME=C: 
\Python27" ---Should I delete or replace or?
4) I didn't found anything about python25 in the init.bat

Still nothing happes after start...I tried to open the Wxgui and to  
open the Command line. The command line asks me for my mapset etc and  
after typing Esc+Enter it closes.

Can anyone tell me exactly what I've to delete or replace.
Do I need wxpython installed on my local python27 installation?

/johannes



>
> [sent to early]
>>> "%WINGISBASE%\etc\Init.bat" %*>
>> And this.
>
> http://trac.osgeo.org/grass/browser/grass/branches/ 
> releasebranch_6_4/lib/init/init.bat
>
> best regards
> Helmut
>
> ___________________________________________________________
> Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
> Toolbar eingebaut! http://produkte.web.de/go/toolbar



More information about the grass-windows mailing list