EarthObservation / rvt-qgis

Apache License 2.0
14 stars 5 forks source link

Install from zip fails on Mac (unmet dependancies?) #5

Closed rabennett closed 3 years ago

rabennett commented 3 years ago

Install from zip fails with attached message: (plugin manager states install successful but no toolbox in Raster menu) Screen Shot 2021-01-06 at 15 44 49-2

QGIS spec: Screen Shot 2021-01-06 at 16 22 58

zm8597 commented 3 years ago

QGIS uses wrong path to python gdal library. I resolved this issue with adding the right path (path to python gdal directory) to QGIS enviroment variables. In terminal write "python3 -m pip install gdal" (to make sure python gdal library is installed) the terminal will probably return something like this: "Requirement already satisfied: gdal in /usr/lib/python3/dist-packages (3.0.4)". Copy this path ("/usr/lib/python3/dist-packages"). Open QGIS go to Settings->Options->System, scroll down to the Environment section and check "Use custom variables" checkbox. Then click plus button (add) and under Apply drop down select Prepend, under Variable write "PYTHONPATH" and under Value paste the path you copied. Click OK and restart QGIS, after that everything should work fine. image