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

GRASS GIS trac at osgeo.org
Sun Feb 2 13:51:47 PST 2020


#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>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list