[GRASS-user] can I run python code in standalone grass 6.4?

Milton Cezar Ribeiro miltinho.astronauta at gmail.com
Wed Aug 5 17:32:34 EDT 2009


Dear all,

Is this possible? I installed standalone grass 6.4. from
http://grass.itc.it/grass64/binary/mswindows/native/WinGRASS-6.4.0RC5-1-Setup.exe

After start this mswindows version I can start MSYS/grass64, and
also run "python test.py". Now I would like to run some grass-python code
but when I try

import grass.script as grass
or
import core from grass
or
from grass.script import core as grass
I get error messages like:
     ImportError: No module named grass.script
any help are welcome.

miltinho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090805/8be53a84/attachment.html


More information about the grass-user mailing list