TransWikia.com

"ERROR: Unable to load GDAL library" occurs when trying to GRASS functions in QGIS

Geographic Information Systems Asked by danman_luhl on July 29, 2021

I’m new to QGIS. I’m using GRASS operations to analyze raster layers and getting ERROR: Unable to load GDAL library in QGIS. Maybe the path is wrong which should point the GRASS operations to GDAL. Any tips?

One Answer

thanks for your response! So, I just resolved it finally by searching for and deleting all traces of the previous install attempts. It was originally the "standalone" installer, 3.16 with Grass 7, version 2.0; Mac, Catalina 10.15.7.

After erasing/uninstalling everything I could find from previous install attempts; I again installed the newest package installer from qgis.org, and it is now working.

Before that, here was situation:

There was this error on startup:

"2021-03-20T22:44:46 WARNING GRASS init error : Problem in GRASS initialization, GRASS provider and plugin will not work : Module built against version 2021-02-10T17:13:06+00:00 but trying to use version 2021-02-10T17:08:53+00:00. You need to rebuild GRASS GIS or untangle multiple installations.

And then this error when trying to run various GRASS tools:

"ERROR: Unable to load GDAL library"

So I had tried many times to reinstall, and maybe somehow I hadn't successfully erased the older versions (even though I thought I had). As far as I know its not possible to manage or update Grass on its own, because its part of the program.

I hope this post will be helpful to future people like me! Sorry for the beginner-level questions and I appreciate the respone :-).

Answered by danman_luhl on July 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP