[GRASS-dev] wingrass and ArcGIS with Python

Helena Mitasova hmitaso at unity.ncsu.edu
Fri Aug 14 23:06:06 EDT 2009


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 at unity.ncsu.edu>
> Subject: [GRASS-windows] Re: [GRASS-dev] wingrass on VISSTA and XP
> 	with two	pythons
> To: grass-windows at lists.osgeo.org
> Cc: GRASS developers list <grass-dev at lists.osgeo.org>
> Message-ID: <E0D9ABBF-4109-46F0-A0C7-0C7F93615F6A at unity.ncsu.edu>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Just 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 anymore
>
> The error message says:
> python.exe
> the procedure entry point ? 
> PyWinObject_AsHABDLE@@YAHPAU_object@@PAPAX at Z
> could not be located in the dynamic link library pywintypes25.dll
>
> when 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/2009
>
> so 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.exe
>>
>> thanks,
>>
>> Helena_______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
>
>
> ------------------------------
>
> _______________________________________________
> grass-windows mailing list
> grass-windows at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-windows
>
>
> End of grass-windows Digest, Vol 36, Issue 2
> ********************************************



More information about the grass-dev mailing list