[GRASS-user] Spyder IDE with GRASS

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

Hi Alex,

I have no sollutions, but I am also interested on that, if someone has hints…

Bernardo

Em sexta-feira, 1 de junho de 2018 14:35:27 BRT, Moody, Alex Alex.Moody@idwr.idaho.gov escreveu:

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
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

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

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 (<mankoff@gmail.com>) 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 <Alex.Moody@idwr.idaho.gov> 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
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user