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

Begin forwarded message:

> From: Kevin Sampson <ksamp...@ucar.edu>
> Date: July 2, 2012 4:42:31 PM MDT
> To: Michael Barton <michael.bar...@asu.edu>
> Subject: Re: grass-user Digest, Vol 75, Issue 2
> 
> Michael,
> 
> I traced the problem down and fixed it.  It was simple enough, but certainly 
> did have to do with there being another version of python installed on my 
> system (the ArcGIS installation).  I simply:
> 
> 1. Changed the GISBASE environment variable to the new Grass Installation 
> directory (it had previously been set to an old installation that i had 
> already uninstalled).
> 
> 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
> 
> 
> Cheers,
> 
> Kevin
> 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: ksamp...@ucar.edu   Web: www.gis.ucar.edu
> 

_____________________
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Corporation 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

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

Reply via email to