[GRASS-dev] [GRASS GIS] #2424: PyGRASS does not work when GRASS is invoked from outside

#2424: PyGRASS does not work when GRASS is invoked from outside
-------------------------+-------------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.4
Component: Python | Version: svn-trunk
  ctypes | Keywords: installation, pygrass, temporal,
Resolution: | scripts
       CPU: | Platform: MSWindows 8
  Unspecified |
-------------------------+-------------------------------------------------

Comment (by sbl):

Here is a way to load PyGRASS libs in external Python:

https://github.com/ninsbl/grass-
session/blob/grass_versions/grass_session/session.py#L305

Not sure if this is what you are looking for?
Have not tested on Windows either...

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2424#comment:17&gt;
GRASS GIS <https://grass.osgeo.org>