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

Michael Barton michael.barton at asu.edu
Mon Jul 2 15:48:01 PDT 2012


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 <ksampson at ucar.edu>
> Date: July 2, 2012 4:42:31 PM MDT
> To: Michael Barton <michael.barton at 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: ksampson at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120702/a55812ee/attachment-0001.html>


More information about the grass-user mailing list