[GRASS-user] Running a python script using GRASS GIS on a Mac

2021-12-20 Thread Nicklas Larsson via grass-user
Shaffiq, To install grass-session to the embedded Python with the GRASS mac app bundle, try in a GRASS terminal: /Applications/GRASS-7.8.app/Contents/Resources/bin/python -m pip install --upgrade pip /Applications/GRASS-7.8.app/Contents/Resources/bin/python -m pip install grass-session 

Re: [GRASS-user] Running a python script using GRASS GIS on a Mac

2021-12-04 Thread Shaffiq Somani
Dear Moritz, Thanks about GRASSBIN as I missed it. I was able to install grass_session since one of the errors I was making was with the PATH variable. I overwrote the PATH variable instead of append. I still need to test the grass_session since the python file was producing an error. Not

Re: [GRASS-user] Running a python script using GRASS GIS on a Mac

2021-12-02 Thread Moritz Lennert
Hi Shaffiq, Am 24.11.2021 06:16 schrieb Shaffiq Somani: Dear Moritz, Thank you for your advise and I just cut and paste the text from the terminal. I am making a bit of progress, as shown in the text below. I am not sure why it can’t find the grass_session as I installed it using the PIP

Re: [GRASS-user] Running a python script using GRASS GIS on a Mac

2021-11-23 Thread Shaffiq Somani
mailto:grass-user@lists.osgeo.org>>; Shaffiq Somani mailto:ssom...@msn.com>> Subject: Re: [GRASS-user] Running a python script using GRASS GIS on a Mac Hi Shaffiq, Le 22 novembre 2021 00:48:04 GMT+01:00, Shaffiq Somani mailto:ssom...@msn.com>> a écrit : Dear GRASS Community, I am tryi

Re: [GRASS-user] Running a python script using GRASS GIS on a Mac

2021-11-22 Thread Moritz Lennert
you get that from. I would suggest to set that back to GRASSBIN and try again. Moritz > >From: Moritz Lennert >Sent: Monday, November 22, 2021 2:16 AM >To: grass-user@lists.osgeo.org ; Shaffiq Somani > >Subject: Re: [GRASS-user] Running a python

Re: [GRASS-user] Running a python script using GRASS GIS on a Mac

2021-11-21 Thread Moritz Lennert
Hi Shaffiq, Le 22 novembre 2021 00:48:04 GMT+01:00, Shaffiq Somani a écrit : >Dear GRASS Community, > >I am trying to run grass as a Python script for the gapfilling component of >PySEBAL where the GitHub directory is shown below. I have already imported >the grass-session using the pip3