See below to the solution to the problem of Python incompatibilities with ArcGIS and/or other Pythons
Many thanks to all who offered insight into this issue.
Michael
···
Kevin Sampson
Associate Scientist
National Center for Atmospheric Research
P.O. Box 3000 Boulder, CO 80307-3000
Tel: 303.497.8121 Fax: 303.497.8125
E-mail: [ksampson@ucar.edu](mailto:ksampson@ucar.edu) Web: [www.gis.ucar.edu](http://www.gis.ucar.edu/)
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@gclements.plus.com>
It is bundling Python.
Michael
On Jul 2, 2012, at 7:54 PM, Glynn Clements wrote:
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@gclements.plus.com>
_____________________
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Consortium for Atmospheric Research
303-497-2889 (voice)
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu