[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  Best,Ni

[GRASS-user] Pandas installation in GRASS GIS environment

2021-12-20 Thread Nicklas Larsson via grass-user
Following might work (from  a GRASS terminal):/Applications/GRASS-7.8.app/Contents/Resources/bin/python -m pip pip install --upgrade pip/Applications/GRASS-7.8.app/Contents/Resources/bin/python -m pip pip install pandas  Unfortunately, at the moment I can’t test this. Best, Nicklas _

Re: [GRASS-user] Pandas installation in GRASS GIS environment

2021-12-20 Thread dheerajchand.com
Here's what I'm seeing in the GRASS that I just installed from the same installer. The commands at the terminal show me: 1. The location of the python being executed 2. The location of the pip being executed 3. Which error happens when I try to install pandas 4. Changing the shell to zsh 5. Chec

Re: [GRASS-user] Pandas installation in GRASS GIS environment

2021-12-20 Thread Dheeraj Chand
Let me try this when I get to my desk. My suspicion is that the Python that GRASS is using does not have Pandas and that the path inside the self-contained binary’s terminal does not easily give you access to the foundation libraries you’ll need to install it. Let me check and let you know.

Re: [GRASS-user] Pandas installation in GRASS GIS environment

2021-12-20 Thread Gioia Blayer
Thank you Dheeraj! Sure, let me know how it goes. Gioia On Mon, 20 Dec 2021, 16:20 Dheeraj Chand, wrote: > Let me try this when I get to my desk. My suspicion is that the Python > that GRASS is using does not have Pandas and that the path inside the > self-contained binary’s terminal does not

Re: [GRASS-user] Pandas installation in GRASS GIS environment

2021-12-20 Thread Gioia Blayer
Thank you all for the reply and help, Veronica - I tried according to the link sent but unfortunately it still doesn't work. Dheeraj - I downloaded GRASS GIS 7.8.6 from the link on the website https://grass.osgeo.org/download/mac/ and followed the instructions given. Is this what you meant? Over

Re: [GRASS-user] Pandas installation in GRASS GIS environment

2021-12-20 Thread Dheeraj Chand
This may also depend on how you have built GRASS on Mac. There are a few ways to do it, all of which are a big pain! Which technique did you use? Sent from my iPhone > On Dec 20, 2021, at 5:42 AM, Veronica Andreo wrote: > >  > Hi Gioia, > > Have you tried with `pip3 install pandas` in the te

Re: [GRASS-user] Pandas installation in GRASS GIS environment

2021-12-20 Thread Veronica Andreo
Hi Gioia, Have you tried with `pip3 install pandas` in the terminal? I guess the pandas you use within pycharm is in a virtualenv or so, and grass might not have access to it. I do not use Mac but I found this: https://www.geeksforgeeks.org/how-to-install-python-pandas-on-macos/ hope that helps V

Re: [GRASS-user] how to derive polygons from text strings

2021-12-20 Thread Uwe Fischer
Hello Māris, thanks a lot. That is hard tobacco for a user like me. What do you mean 'ask the same rendering engine'? Is there a chance to get such boxes for a normal user or is it a case for a c++ programmer? Mit freundlichen Grüßen, UWE FISCHER -- Ingenieurbüro Fischer Esbecker Str. 8 31036