uafgeotools / rtm

A Python package for locating infrasound sources using reverse time migration
https://uaf-rtm.readthedocs.io/
MIT License
38 stars 13 forks source link

Gdal loading issue #13

Closed liamtoney closed 5 years ago

liamtoney commented 5 years ago

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…

liamtoney commented 5 years ago

Fixed by 054aae1