[GRASS-user] Traceback in running my first script

Markus Neteler neteler at osgeo.org
Wed Oct 22 03:02:42 PDT 2014


On Tue, Oct 21, 2014 at 5:09 PM, Giuliano Urgeghe <giuliano.u at gmail.com> wrote:
> Hi all,
>
> someone know this error that appears in running my first script in windows
> 7.0 with grass 6.4.4 mysys
>
> 'import site' failed; use -v for traceback

You may need to check of  the PYTHONHOME variable is set properly.

Markus

> Traceback (most recent call last):
>   File "C:\Program Files (x86)\GRASS GIS
> 6.4.4\etc\gui\scripts\v.WESdaSDFtoGRASS_rev4.py", line 87,
> in <module>
>     import sys,os,re,numpy,math,string
>   File "C:\Program Files (x86)\GRASS GIS
> 6.4.4\Python27\lib\os.py", line 398, in <module>
>     import UserDict
>   File "C:\Program Files (x86)\GRASS GIS
> 6.4.4\Python27\lib\UserDict.py", line 84, in <module>
>     _abcoll.MutableMapping.register(IterableUserDict)
>   File "C:\Program Files (x86)\GRASS GIS
> 6.4.4\Python27\lib\abc.py", line 109, in register
>     if issubclass(subclass, cls):
>   File "C:\Program Files (x86)\GRASS GIS
> 6.4.4\Python27\lib\abc.py", line 184, in __subclasscheck__
>     cls._abc_negative_cache.add(subclass)
>   File "C:\Program Files (x86)\GRASS GIS
> 6.4.4\Python27\lib\_weakrefset.py", line 84, in add
>     self.data.add(ref(item, self._remove))
> TypeError: cannot create weak reference to 'classobj' object
>
>
> Best regards
> Giuliano
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list