When I try “from osgeo import gdal, osr” I get the following error:
ImportError: dlopen(/Users/dfee/anaconda/envs/rtm/lib/python3.7/site-packages/osgeo/_gdal.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libcfitsio.5.dylib
Referenced from: /Users/dfee/anaconda/envs/rtm/lib/libgdal.20.dylib
Reason: image not found
Any idea what is going on here? Everything worked for me before, but I created a new conda environment with gmt/etc as directed in the readme. I’ve had problems with gdal in the past…
Original report by David Fee (Bitbucket: 557058:f36e7514-bbba-431e-8df0-3e3ac9a3395b, GitHub: davidfee5).
When I try “from osgeo import gdal, osr” I get the following error:
ImportError: dlopen(/Users/dfee/anaconda/envs/rtm/lib/python3.7/site-packages/osgeo/_gdal.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libcfitsio.5.dylib
Referenced from: /Users/dfee/anaconda/envs/rtm/lib/libgdal.20.dylib
Reason: image not found
Any idea what is going on here? Everything worked for me before, but I created a new conda environment with gmt/etc as directed in the readme. I’ve had problems with gdal in the past…