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

Glynn Clements glynn at gclements.plus.com
Sat May 10 10:31:57 PDT 2014


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.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list