在macOS上导入GDAL时库版本不兼容

时间:2019-04-19 14:28:54

标签: python macos gdal osgeo

我正在尝试安装导入gdal库。

from osgeo import ogr

但出现以下错误

ImportError: dlopen(/anaconda3/lib/python3.6/site-packages/osgeo/_gdal.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libtiff.5.dylib
  Referenced from: /anaconda3/lib/libgdal.20.dylib
  Reason: Incompatible library version: libgdal.20.dylib requires version 9.0.0 or later, but libtiff.5.dylib provides version 8.0.0

我安装了gdalconda install gdal

0 个答案:

没有答案