For those who need to run both ArcGIS and GRASS with Python (common situation in GIS labs),
here is the solution for the reported problem from our technical support:
I found there are different builds of winpython 2.5 . The version that works for both is build is 212. I found it here...
http://sourceforge.net/projects/pywin32/files/pywin32/Build%20212/pywin32-212.win32-py2.5.exe/download
Helena
Message: 1
Date: Thu, 6 Aug 2009 21:44:23 -0400
From: Helena Mitasova <hmitaso@unity.ncsu.edu>
Subject: [GRASS-windows] Re: [GRASS-dev] wingrass on VISSTA and XP
with two pythons
To: grass-windows@lists.osgeo.org
Cc: GRASS developers list <grass-dev@lists.osgeo.org>
Message-ID: <E0D9ABBF-4109-46F0-A0C7-0C7F93615F6A@unity.ncsu.edu>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowedJust an update, in case somebody else has a similar problem -
GRASS from OSGeo4W installer runs with nviz on the same VISTA computers
that had the problem below.But we got an interesting issue with the native installer on our XP
machines in the teaching lab.
After a separate Python2.5 install GRASS wxpython does not run anymoreThe error message says:
python.exe
the procedure entry point ?PyWinObject_AsHABDLE@@YAHPAU_object@@PAPAX@Z
could not be located in the dynamic link library pywintypes25.dllwhen we searched for pywintypes25.dll we got
C:\GRASS6-6-SVN\extralib 112KB 1/11/2009
C:\WINDOWS\system32 100KB 9/22/2006
C:\Python25\Lib\site_packages\ 100KB 9/22/2006
C:\GRASS6-6-SVN\Python25\Lib 112KB 1/11/2009so it looks like the C:\Python25\Lib\site_packages version
is different from the one used by GRASS I asssume that the problem
we have is that GRASS is looking into the wrong pywintypes25.dll.
Is there a solution to this? So far it looks like removing the second
install of Python2.5 is not an option.thanks,
Helena
On Aug 6, 2009, at 11:02 AM, Helena Mitasova wrote:
Has anybody installed the latest install on VISSTA?
we get only the first two icons and no Tcltk runs (that means no nviz)http://grass.osgeo.org/grass64/binary/mswindows/native/
WinGRASS-6.4.0SVN-r38537-1-Setup.exethanks,
Helena_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev------------------------------
_______________________________________________
grass-windows mailing list
grass-windows@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-windowsEnd of grass-windows Digest, Vol 36, Issue 2
********************************************