See the grass-session section in the wiki: https://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Python:_GRASS_GIS_7_with_an_external_library:_grass-session
Vero El mié., 6 jun. 2018 a las 13:00, Ken Mankoff (<[email protected]>) escribió: > Any Python install and "grass-session" works well: > https://github.com/zarch/grass-session > > -k. > > Please excuse brevity. Sent from pocket computer with tiny non-haptic > feedback keyboard. > > On 1 Jun 2018, at 19.25, Moody, Alex <[email protected]> wrote: > > I occasionally try to use GRASS via the Spyder IDE but have not found a > solution that works so far. I am working in Windows 7 with various versions > of GRASS (72, 74, 75) through the OSGEO install. My attempts include > > > > 1. Manually installing Spyder into the OSGEO python site-packages > directory. When I run spyder after launching a GRASS session or from the > OSGEO shell, nothing happens. I’ve seen the Wiki page discussing Spyder > that mentions the command spyder –w . 2>dev/null &, though I am not sure > what this is attempting to do > > 2. Making a conda environment and using subprocess per the Wiki. I > imagine this fails because GRASS isn’t install in this environment. I > wonder if there is a way to set the environment to use the GRASS python > executable? > > > > Has anyone had success using Spyder that could offer some further pointers? > > > > Thanks, > > Alex > > _______________________________________________ > grass-user mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-user > > _______________________________________________ > grass-user mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
