Send grass-windows mailing list submissions to
        grass-windows@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.osgeo.org/mailman/listinfo/grass-windows
or, via email, send a message with subject or body 'help' to
        grass-windows-requ...@lists.osgeo.org

You can reach the person managing the list at
        grass-windows-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-windows digest..."


Today's Topics:

   1. Re: Fwd: WinGRASS installation and addtional python       modules
      (Glynn Clements)
   2. Re: Fwd: WinGRASS installation and addtional python       modules
      (Johannes Radinger)


----------------------------------------------------------------------

Message: 1
Date: Thu, 19 May 2011 06:29:47 +0100
From: Glynn Clements <gl...@gclements.plus.com>
Subject: Re: [GRASS-windows] Fwd: WinGRASS installation and addtional
        python  modules
To: "Johannes Radinger" <jradin...@gmx.at>
Cc: grass-windows@lists.osgeo.org
Message-ID: <19924.43723.892483.911...@cerise.gclements.plus.com>
Content-Type: text/plain; charset=us-ascii


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.

-- 
Glynn Clements <gl...@gclements.plus.com>


------------------------------

Message: 2
Date: Thu, 19 May 2011 11:58:07 +0200
From: "Johannes Radinger" <jradin...@gmx.at>
Subject: Re: [GRASS-windows] Fwd: WinGRASS installation and addtional
        python  modules
To: Glynn Clements <gl...@gclements.plus.com>
Cc: grass-windows@lists.osgeo.org
Message-ID: <20110519095807.244...@gmx.net>
Content-Type: text/plain; charset="utf-8"


-------- Original-Nachricht --------
> Datum: Thu, 19 May 2011 06:29:47 +0100
> Von: Glynn Clements <gl...@gclements.plus.com>
> An: "Johannes Radinger" <jradin...@gmx.at>
> CC: grass-windows@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 <gl...@gclements.plus.com>

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


------------------------------

_______________________________________________
grass-windows mailing list
grass-windows@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-windows


End of grass-windows Digest, Vol 56, Issue 4
********************************************

Reply via email to