[GRASS-dev] grass on osgeo4w and spyder

Vaclav Petras wenzeslaus at gmail.com
Tue Mar 24 17:32:49 PDT 2020


On Tue, Mar 24, 2020 at 4:31 PM Helmut Kudrnovsky <hellik at web.de> wrote:

> pvanbosgeo wrote
> > Hi devs,
> >
> > Has any of you experience in running Spyder (or any other Python IDE)
> > from the GRASS command line (GRASS  installed on Windows 10 with
> > OSGeo4W)? Any tips for how to set this up?
> >
> > I can run R/Rstudio from the GRASS command line. Nothing to set up,
> > just typing in rstudio on the grass gis command line to fire up
> > rstudio.
> >
> > That does not work, however, with Spyder (installed with Anaconda). As
> > an alternative, I tried to install Spyder with pip on the osgeo4w
> > command line. Installation seems to work, but when typing in spyder3
> > on the command line, nothing happens.
>
> have a look at
>
> https://grasswiki.osgeo.org/wiki/Tools_for_Python_programming#PyCharm_IDE
>
> it's related to
>
> add python-grass.bat for Python initialization
> https://github.com/OSGeo/grass/pull/43
> <https://github.com/OSGeo/grass/pull/436>


Once you figure out that for Spyder, please consider updating Windows
instructions at:

https://grasswiki.osgeo.org/wiki/Tools_for_Python_programming#Spyder_editor

Thanks,
Vaclav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20200324/39442efb/attachment.html>


More information about the grass-dev mailing list