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

Johannes Radinger JRadinger at gmx.at
Fri May 20 11:16:51 EDT 2011


Hello,

thank you for that advice. I've no installed following packages

1) Python 2.7
2) numpy 1.5.1 for python2.7
3) scipy 0.9.0 (needed for my script)
4) matplotlib 1.0.1 (needed for my script)
5) pywin32 build 216 (most recent build)
6) wxpyhton 2.8.12.0 for python 2.7 (actual and only version on the 
official wxpython page)

and I set the env. as before ... but no success ... how can I check what 
is wrong?
Is there any log because GRASS just opens for less then one second and 
then closes again.
I don't know if it is a version of a python module which is conflicting 
or if it is any of
the environmental variables etc.

/Johannes


Am 20.05.2011 13:31, schrieb Helmut Kudrnovsky:
> [sent to early]
>
> also in the mentioned source file
>
> MS-WINDOWS ONLY REQUIREMENTS
>
>   Python Extensions for MS-Windows>= Build 210
>
>   Get Python Extensions for MS-Windows from:
>    http://sourceforge.net/project/platformdownload.php?group_id=78018
>   Get NumPy from:
>    http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103
> Helmut
>
>
> -----Ursprüngliche Nachricht-----
> Von: "Helmut Kudrnovsky"<hellik at web.de>
> Gesendet: 20.05.2011 13:28:34
> An: "Johannes Radinger"<JRadinger at gmx.at>
> Betreff: Re: WinGRASS installation and addtional python modules
>
> hi,
>
> have a look in
> http://svn.osgeo.org/grass/grass/trunk/gui/wxpython/README
>
> REQUIREMENTS
> GRASS GIS>= 6.4
> Python>= 2.4 (Python 3 not supported) Python ElementTree (only for Python 2.4)
> wxPython>= 2.8.1.1
> NumPy>= 1.0.4
>
> best regards
> Helmut
>
> -----Ursprüngliche Nachricht-----
> Von: "Johannes Radinger"<JRadinger at gmx.at>
> Gesendet: 20.05.2011 09:41:33
> An: "Helmut Kudrnovsky"<hellik at web.de>
> Betreff: Re: WinGRASS installation and addtional python modules
>
> 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
> ___________________________________________________________
> Ihr GMX Postfach immer dabei: die kostenlose GMX Mail App für Android.
> Komfortabel, sicher und schnell: www.gmx.de/android



More information about the grass-windows mailing list