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()
)
Also, can I use bash within the jupyter notebook? I'm not
On Thu, Sep 28, 2023 at 5:22 AM Vaclav Petras via grass-user
wrote:
>
> Hi Vishal,
>
> The executable on Windows is not called "grass" like on Linux but "grass8" or
> "grass83" (to avoid a strange Python
> import error). That should do the trick. If not, try simply providing a full
> path