我安装geopandas
了
conda install --channel https://conda.anaconda.org/conda-forge geopandas
其中安装了libgdal
, libnetcdf
, fiona
,geopandas
和kealib
一堆其他软件包。
导入给了我一个冲突libnetcdf
,所以我尝试了:
conda install libnetcdf
原来的错误消失了,但是现在当我尝试 import 时geopandas
,fiona
要求给出了错误。这是回溯:
/Users/username/anaconda3/lib/python3.5/site-packages/fiona/collection.py in <module>()
6
7 from fiona import compat
----> 8 from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
9 from fiona.ogrext import Session, WritingSession
10 from fiona.ogrext import (
ImportError: dlopen(/Users/username/anaconda3/lib/python3.5/site-packages/fiona/ogrext.cpython-35m-darwin.so, 2): Symbol not found: __ZN2H56H5FileC1ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjRKNS_17FileCreatPropListERKNS_15FileAccPropListE
Referenced from: /Users/username/anaconda3/lib//libkea.1.4.6.dylib
Expected in: /Users/username/anaconda3/lib//libhdf5_cpp.12.dylib
in /Users/username/anaconda3/lib//libkea.1.4.6.dylib
谢谢!