1

我不知道为什么,但我现在在 mac 上遇到了这个问题。我安装了所有东西anacondaRestart在系统启动之前一切正常

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
4

0 回答 0