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

2023-09-29 Thread Vishal Mehta via grass-user
Thanks Markus, I installed bash kernel; and it seems that it is there (#lsmagic lists bash as one of the cell magics) but I get the error below: ##bash g.list type=rast ---CalledProcessError Traceback

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

2023-09-28 Thread Vishal Mehta via grass-user
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

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

2023-09-27 Thread Vishal Mehta via grass-user
I'm trying to follow this setup: https://github.com/ncsu-geoforall-lab/GIS714-assignments/blob/main/GRASS_GIS_Foundations/JupyterOnWindows_Tutorial.ipynb I have stand-alone GRASS GIS 8.3 installed in Windows in C:\GRASS GIS 8.3 I followed the 7 setup steps (changing set path to reflect that its

[GRASS-user] Anaconda environment for GRASS?

2023-09-27 Thread Vishal Mehta via grass-user
Is there guidance on how to set up a GRASS environment in anaconda? I'm hoping for documentation/guidance at least as good as this: https://docs.anaconda.com/free/anaconda/packages/using-r-language/ So far I've found this from 6 years ago, using Grass 7