导入fiona失败

时间:2016-01-27 03:06:14

标签: python import package anaconda

我使用fiona安装了conda install -c http://conda.anaconda.org/ioos fiona。然后import fiona给出以下错误消息

import fiona
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/admin/anaconda/lib/python2.7/site-packages/fiona/__init__.py", line 72, in <module>
    from fiona.collection import Collection, BytesCollection, vsi_path
  File "/Users/admin/anaconda/lib/python2.7/site-packages/fiona/collection.py", line 7, in <module>
    from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: dlopen(/Users/admin/anaconda/lib/python2.7/site-packages/fiona/ogrext.so, 2): Library not loaded: /usr/local/lib/libgif.4.1.6.dylib
  Referenced from: /Users/admin/anaconda/lib/libgdal.1.dylib
  Reason: image not found

我想了解此错误消息以及如何解决此问题。

0 个答案:

没有答案