Closed jlayt closed 4 years ago
This is related to https://github.com/Toblerity/rtree/issues/56
please open Terminal, run
export SPATIALINDEX_C_LIBRARY=/Applications/QGIS3.14.app/Contents/MacOS/lib/libgeos_c.1.dylib
and then run QGIS
open /Applications/QGIS3.14.app
We have a private python plugin that uses Shapely to do some processing. I finally uninstalled QGIS 2 from our company machines and it broke the plugin as Shapely could no longer find GEOS, as removing QGIS 2 removed the
/Library/Frameworks/GEOS.framework
copy of GEOS.QGIS 3 seeks first to load GEOS for use in Shapely from
/Applications/QGIS3.14.app/Contents/Frameworks/Python.framework/Versions/Current/lib/libgeos_c.dylib
but cannot find it, so tries to fallback to/Library/Frameworks
. I have worked-around the issue by pushing out GEOS as a separate package installed in/Library/Frameworks
, but I assume that it should be finding the built-in copy of GEOS to prevent version issues.Stacktrace: