我正在尝试安装导入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
我安装了gdal
槽conda install gdal