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

"GRASS GIS" <[email protected]>
Newsgroups gmane.comp.gis.grass.devel
Message-ID <[email protected]>
#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>

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.