<div dir="ltr">Thanks Markus and Vaclav,<div><br></div><div>This is what worked for me on Windows:</div><div># Ask GRASS GIS where its Python packages are.<br>sys.path.append(<br>    subprocess.check_output(["C:\GRASS GIS 8.3/grass83.bat", "--config", "python_path"], text=True).strip()<br>)<br></div><div><br></div><div>Also, can I use bash within the jupyter notebook? I'm not familiar with the gs.script syntax; I'm very comfortable with the old bash ways..</div><div>so any day I would rather  </div><div>glist rast than</div><div>gs.list_grouped(type=['raster'])<br></div><div><br></div><div>What i'm hoping for is a way to mix and match within a single workflow, taking advantage of things like the interactive map via python what-have-you's, but sticking to the bash commands for pretty much everything else.</div><div><br></div><div>I saw some notebooks with something like</div><div>%%bash</div><div><some bash commands></div><div><br></div><div>but that didn't work for me..</div><div><br></div><div>Thanks,</div><div>Vishal</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 28, 2023 at 12:46 AM Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Sep 28, 2023 at 5:22 AM Vaclav Petras via grass-user<br>
<<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>> wrote:<br>
><br>
> Hi Vishal,<br>
><br>
> The executable on Windows is not called "grass" like on Linux but "grass8" or "grass83" (to avoid a strange Python<br>
> import error). That should do the trick. If not, try simply providing a full path yourself including the extension (C:\...\...bat).<br>
<br>
I have taken liberty to cite this note here:<br>
<br>
<a href="https://grasswiki.osgeo.org/wiki/GRASS_GIS_Jupyter_notebooks#Windows_tricks" rel="noreferrer" target="_blank">https://grasswiki.osgeo.org/wiki/GRASS_GIS_Jupyter_notebooks#Windows_tricks</a><br>
<br>
Best,<br>
Markus<br>
</blockquote></div>