[GRASS-dev] [GRASS-user] GRASS, ArcGIS, and Python incompatibilties

Glynn Clements glynn at gclements.plus.com
Mon Jul 2 18:54:46 PDT 2012


Michael Barton wrote:

> > 2. Changed the Init.bat file in %GISBASE%\etc so that %PYTHONPATH%
> > (which was present because of my ArcGIS python instlalation) was no
> > longer part of the PYTHONPATH variable at GRASS startup.
> > 
> > before:
> > set PYTHONPATH=%PYTHONPATH%;%GISBASE%\etc\python;%GISBASE%\etc\wxpython
> > 
> > after:
> > set PYTHONPATH=%GISBASE%\etc\python;%GISBASE%\etc\wxpython

If the Windows installer is bundling Python, this change is correct. 
If PYTHONPATH is already set prior to starting GRASS, there's no
reason to believe that the directories to which it refers contain
packages which are compatible with the bundled Python.

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


More information about the grass-dev mailing list