Hi Phil,
unfortunately we recently discovered that Basemap on macOS is
really broken when used in it's binary version because of a known
bug of Shapely.
You can read the full story and links to upstream bug reports here: https://github.com/gem/oq-builders/issues/99
The only known workarounds are: 1) switch to another OS (Windows or Linux are fine) or 2) uninstall binary versions of Shapely and Basemap and install them via source code:
pip uninstall basempa shapely
pip install --no-binary :all: basemap shapely
The installation from sources isn't a trivial task: you have to compiled a compatible version of libgeos on your system (see https://github.com/Toblerity/Shapely/#source-distributions)
We are going to temprarily disable Basemap on macOS for the Engine 3.2 until the fix is fixed upstream (hopefully).
Daniele
--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Phil,
Hi Daniele,
Thanks fr the reply, but what a mess!
And, judging form the link you sent, it sounds like we will also have to switch to Cartopy soon?
That's why the only (known) solution on macOS is to compile libgeos, Shapely and Basemap from sources and let Shapely and Basemap share the single copy of libgeos.
Cheers,
Daniele