[GRASS-user] Running Python scripts inside GRASS
Milton Cezar Ribeiro
miltinho.astronauta at gmail.com
Tue Mar 9 16:22:03 EST 2010
Hi There,
I am happy running python inside a OSGeo4W grass instalallation.
I start MSYS, start grass, and then ryn python 2.5 which are run
from C:\OSGeo4W\apps\Python25. But I needed to copy the grass/python
library to C:\OSGeo4W\apps\Python25\Lib\site-packages.
Good luck,
milton
2010/3/9 Hamish <hamish_b at yahoo.com>
> Sonja wrote:
> > Is there any other place where a wrong PYTHONPATH could be stored???
>
> if you have the grass source code try from the the msys prompt:
>
> grep -ri python25 mswindows/*
>
>
> wingrass is a bit of a tangle of startup scripts, especially the osgeo4w
> build. the above searches through the custom/lesser known wingrass ones.
>
>
> you can also try a recursive grep in the GRASS-64-SVN\ directory to try
> and find and. If doing that I'd add the -I flag to skip searching in
> binaries.
>
>
>
> Hamish
>
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100309/77109c37/attachment.html
More information about the grass-user
mailing list