[GRASS-dev] Calling GRASS from outside: cannot open shared object file

Vaclav Petras wenzeslaus at gmail.com
Sat May 10 10:38:34 PDT 2014


On Sat, May 10, 2014 at 1:31 PM, Glynn Clements <glynn at gclements.plus.com>wrote:

>
> Vaclav Petras wrote:
>
> > going back to list because it is apparently a general problem. The answer
> > is no. I haven't resolved this.
> >
> > Intro for others: currently, it is not possible to use ctypes API (and
> thus
> > PyGRASS) in standalone Python script which is not GRASS module (script
> > running outside GRASS session).
>
> Even if you can load the library, you probably aren't going to be able
> to do much with it unless GISRC is set.
>
> I hoped that this is what `grass.script.setup.init` is doing.

 --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140510/15c68b38/attachment.html>


More information about the grass-dev mailing list