[GRASS-dev] wingrass on VISSTA and XP with two pythons

Hamish hamish_b at yahoo.com
Fri Aug 7 03:52:20 EDT 2009

Helena Mitasova wrote:
> 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.

what is the GRASS_PYTHON env variable set to before starting GRASS?

set GRASS_PYTHON=C:\GRASS6-6-SVN\Python25\Lib

does echo %GRASS_PYTHON% from the GRASS DOS prompt show the same?



More information about the grass-dev mailing list