[GRASS-user] Trying to use GRASS with Jupyter note books in Windows

Markus Neteler neteler at osgeo.org
Fri Sep 29 11:53:25 PDT 2023


On Thu, Sep 28, 2023 at 10:09 PM Vishal Mehta <vishalm1975 at gmail.com> wrote:
>
> Thanks Markus and Vaclav,
>
> This is what worked for me on Windows:
> # Ask GRASS GIS where its Python packages are.
> sys.path.append(
>     subprocess.check_output(["C:\GRASS GIS 8.3/grass83.bat", "--config", "python_path"], text=True).strip()
> )

Perfect, added to the Wiki page, too.

> Also, can I use bash within the jupyter notebook?

Seems yes, after:

pip install bash_kernel

Markus


More information about the grass-user mailing list