gdal dyld:未加载库原因:找不到图像

gdal dyld: Library not loaded Reason: image not found

➜  ishan git:(master) ✗ ogr2ogr -f GPKG ./testgpkg.gpkg combining_elevation_coastline_data.csv -oo X_POSSIBLE_NAMES=x -oo Y_POSSIBLE_NAMES=y -a_srs 'EPSG:4326'
dyld: Library not loaded: @rpath/libpoppler.91.dylib
  Referenced from: /Users/ishansrivastava/miniconda/lib/libgdal.26.dylib
  Reason: image not found
[1]    94711 abort      ogr2ogr -f GPKG ./testgpkg.gpkg combining_elevation_coastline_data.csv -oo   

我正在尝试将 csv 文件转换为 geopackage 文件

我尝试过的事情:

1.

brew update
brew upgrade
brew cleanup

重新安装xcode 命令行工具

3。

4。

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: exefile (No such file or directory)

最终成功的方法:

conda update -c rdonnellyr -c main --all