Re: grass on osgeo4w and spyder

Vaclav Petras <[email protected]>
Newsgroups gmane.comp.gis.grass.devel
Message-ID <CABo5uVuP6VpUT1uEawLCpA28hZmYR+A4qTxoZeTo_Thh0_0vmg@mail.gmail.com>
On Tue, Mar 24, 2020 at 4:31 PM Helmut Kudrnovsky <[email protected]> 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

_______________________________________________
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.