我不为什么,但是我现在在Mac上遇到此问题。我通过anaconda
安装了所有设备。在Restart
系统之前,一切工作正常
import fiona
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-8-4c762272c079> in <module>
----> 1 import fiona
/anaconda3/lib/python3.6/site-packages/fiona/__init__.py in <module>
81 os.environ["PATH"] = os.environ["PATH"] + ";" + libdir
82
---> 83 from fiona.collection import BytesCollection, Collection
84 from fiona.drvsupport import supported_drivers
85 from fiona.env import ensure_env_with_credentials, Env
/anaconda3/lib/python3.6/site-packages/fiona/collection.py in <module>
7
8 from fiona import compat, vfs
----> 9 from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
10 from fiona.ogrext import Session, WritingSession
11 from fiona.ogrext import buffer_to_virtual_file, remove_virtual_file, GEOMETRY_TYPES
ImportError: dlopen(/anaconda3/lib/python3.6/site-packages/fiona/ogrext.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libpoppler.76.dylib
Referenced from: /anaconda3/lib/libgdal.20.dylib
Reason: image not found