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. Sent from my iPhone > On Dec 20, 2021, at 7:57 AM, Gioia Blayer <gioia.bla...@mail.huji.ac.il> > wrote: > > > 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? > > Overall I am able to install Add-ons, it's just with the add-ons that depend > on python packages (like r.area.createweight that depends on pandas and > scikit-learn) that I have difficulty in installing the relevant packages in > GRASS GIS python environment. Maybe I'm missing something - I will try to > remove and re-install the program from scratch. > > Thanks again! > > >> On Mon, Dec 20, 2021 at 3:19 PM Dheeraj Chand <dhee...@dheerajchand.com> >> wrote: >> 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 <veroand...@gmail.com> wrote: >>>> >>> >>> 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 >>> Vero >>> >>>> El dom, 19 dic 2021 a las 15:33, Gioia Blayer >>>> (<gioia.bla...@mail.huji.ac.il>) escribió: >>>> Hello everyone, >>>> >>>> I am trying to install the module r.area.createweight in GRASS GIS version >>>> 7.8.6 on macOS Monterey 12.1. When I run the command g.extension >>>> r.area.createweight from the console in GRASS GIS I get the following >>>> error: >>>> >>>> Fetching <r.area.createweight> from GRASS GIS Addons repository (be >>>> patient)... >>>> ERROR: Pandas is not installed >>>> Compiling... >>>> [make: *** [r.area.createweight.tmp.html] Error 1 >>>> ERROR: Compilation failed, sorry. Please check the above error messages. >>>> >>>> I do have Pandas because I use it for python in pycharm, but I do not >>>> understand how to install Pandas in the GRASS GIS environment. >>>> Hope someone can help me with this, I feel it's something quick and >>>> technical but I'm new to grass gis, so it takes me some time to learn it. >>>> >>>> Thank you in advance for the time and help! >>>> _______________________________________________ >>>> grass-user mailing list >>>> grass-user@lists.osgeo.org >>>> https://lists.osgeo.org/mailman/listinfo/grass-user >>> _______________________________________________ >>> grass-user mailing list >>> grass-user@lists.osgeo.org >>> https://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user