<div dir="ltr"><div dir="ltr"><div>[was:[GRASS-user] Using grass.script in Jupyter (Azure)]</div><div><br></div><div>Dear all,</div><div><br></div><div>in less than two days, I have seen two users reporting "I have successfully installed GRASS using pip" (see e.g. the post to the grass-user list below, cc'ed).</div><div><br></div><div>It is an an unfortunate situation because there is a package called `grass` unrelated to GRASS GIS project. See:<br></div><div><br></div><div><a href="https://pypi.org/project/grass/">https://pypi.org/project/grass/</a></div><div><br></div><div>The package installs a executable called `grass` and of course a Python package called grass. See also:</div><div><br></div><div><a href="https://github.com/COMBINE-lab/GRASS">https://github.com/COMBINE-lab/GRASS</a></div><div><br></div><div>What do you think would be the best course of action?</div><div><br></div><div>Thanks,<br></div><div>Vaclav<br></div></div><div dir="ltr"><br></div><div dir="ltr"><br>On Wed, Oct 10, 2018 at 5:18 AM Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>><br>> Hi,<br>><br>> Mehrdad Varedi <<a href="mailto:varedi@gmail.com">varedi@gmail.com</a>> schrieb am Mi., 10. Okt. 2018, 03:25:<br>>><br>>> Hi Everyone,<br>>><br>>> I want to develop a program using GRASS python libraries in Jupyter(on Azure). All codes begin with: <br>>><br>>> import grass.script as gscript<br>>><br>>> of course the grass.script is not available in Jupyter. I tried to install GRASS<br>>><br>>> I used: !pip install GRASS<br>>> and it worked like a charm, although I can't have access to grass.script.<br>>> Sorry if it is a silly question, although I apreciate any idea to begin programming GRASS on Azure.<br>><br>> Please check the Jupyter examples here:<br>><br>> <a href="https://grasswiki.osgeo.org/wiki/GRASS_GIS_Jupyter_notebooks">https://grasswiki.osgeo.org/wiki/GRASS_GIS_Jupyter_notebooks</a><br>><br>> They may give you a start. Please let us know how it goes and feel free to add your notes to the wiki page.<br>><br>> Best,<br>> Markus</div></div>