Installing Fiona in a fresh environment on macOS will result in ImportError on import fiona. That is likely caused by the recent update of libtiff (2 days ago). See the Traceback below.
edit: the issue is not present on ubuntu.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/martin/anaconda3/envs/fiona/lib/python3.8/site-packages/fiona/__init__.py", line 84, in <module>
from fiona.collection import BytesCollection, Collection
File "/Users/martin/anaconda3/envs/fiona/lib/python3.8/site-packages/fiona/collection.py", line 9, in <module>
from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: dlopen(/Users/martin/anaconda3/envs/fiona/lib/python3.8/site-packages/fiona/ogrext.cpython-38-darwin.so, 2): Library not loaded: @rpath/libwebp.7.dylib
Referenced from: /Users/martin/anaconda3/envs/fiona/lib/libtiff.5.dylib
Reason: Incompatible library version: libtiff.5.dylib requires version 9.0.0 or later, but libwebp.7.dylib provides version 8.0.0
Issue:
Installing Fiona in a fresh environment on macOS will result in ImportError on
import fiona
. That is likely caused by the recent update of libtiff (2 days ago). See the Traceback below.edit: the issue is not present on ubuntu.
Environment (
conda list
):Details about
conda
and system (conda info
):