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

Jürgen E. Fischer jef at norbit.de
Fri Aug 7 02:51:22 EDT 2009


Hi Helena,

On Thu, 06. Aug 2009 at 21:44:23 -0400, Helena Mitasova wrote:
> 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.

I assume the problem is that you have the eldest DLL in system32.  You could
try to remove it, update it with the latest one - hoping that it is backward
compatible - or move it somewhere where only the C:\Python25 install will look.

system32 has a special role and is search after the directory of the calling
object (ie. exe or dll), but before anything else.  See
http://trac.osgeo.org/osgeo4w/ticket/35.


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the grass-dev mailing list