gianluca.massei wrote:

> now .py extension is registered correctly and my module ends with 
> correct code but  The error  message is the same. In linux (ubuntu 10.4 
> LTS) all works fine but in windows my module and all other python 
> standard   modules (e.g. r.mask) return same error. If I set  
> PYTHONPAT=C:\Python27 I have this message " [...] no module named 
> grass.script"

PYTHONPATH should contain the path to GRASS' Python directory, i.e. 
%GISBASE%\etc\python. It shouldn't contain any other entries.

PYTHONHOME should not be set.

PATH shouldn't need an entry for Python.

GRASS_PYTHON should contain the complete path to the Python
interpreter.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to