Open cossatot opened 9 years ago
Noted. Thanks for the issue. I will work today on fixing this.
Same issue here. Looking forward to the fix!
ben.koziol:[~]$ conda info
Current conda install:
platform : osx-64
conda version : 3.14.1
conda-build version : 1.14.1
python version : 2.7.10.final.0
requests version : 2.7.0
root environment : /Users/ben.koziol/anaconda (writable)
default environment : /Users/ben.koziol/anaconda
envs directories : /Users/ben.koziol/anaconda/envs
package cache : /Users/ben.koziol/anaconda/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/osx-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/osx-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : /Users/ben.koziol/.condarc
is foreign system : False
We are updating gdal to 2.0. The recompile should fix this issue.
libgdal/gdal 2.0.0 is available in the continuum repos. Please update and let me know if this issue persists
The HDF5 issue is gone but now libpq
is missing. I had encountered this issue immediately before the HDF5 import problem popped up. This may be considered a standard library?
(test-gdal)ben.koziol:[fabric_tools]$ python -c "import osgeo"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/ben.koziol/anaconda/envs/test-gdal/lib/python2.7/site-packages/osgeo/__init__.py", line 21, in <module>
_gdal = swig_import_helper()
File "/Users/ben.koziol/anaconda/envs/test-gdal/lib/python2.7/site-packages/osgeo/__init__.py", line 17, in swig_import_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
ImportError: dlopen(/Users/ben.koziol/anaconda/envs/test-gdal/lib/python2.7/site-packages/osgeo/_gdal.so, 2): Library not loaded: /usr/lib/libpq.5.dylib
Referenced from: /Users/ben.koziol/anaconda/envs/test-gdal/lib/python2.7/site-packages/osgeo/../../../libgdal.20.dylib
Reason: image not found
Requiring gdal>=2.0.0
caused issues with other dependencies, FYI:
Hint: the following packages conflict with each other:
- netcdf4 <=1.1.7
- gdal >=2.0.0
Use 'conda info netcdf4' etc. to see the dependencies for each package.
Hi. I wanted to follow-up and see if libpq
is considered a standard osx library?
libgdal/gdal 2.0.0 is available in the continuum repos. Please update and let me know if this issue persists
I don't get the problem after upgrading. I don't use osgeo
so I'm not sure whether I would have that problem.
Thanks!
Hello -- i am having this exact issue on my mac running yosemite. I install gdal and it downgrades h5py. Gdal imports, h5py won't import. i upgrade h5py, gdal won't import. h5py is ok. Are there instructions somewhere to install both GDAL and h5py successfully? i'm using python 2.7.10/ Thank you for any guidance. i've been trying to get this to work all day!
i ma having the same problem.
import gdal Traceback (most recent call last): File "
", line 1, in File "/Users/starsk/anaconda/envs/DV/lib/python2.7/site-packages/gdal.py", line 2, in from osgeo.gdal import deprecation_warn File "/Users/starsk/anaconda/envs/DV/lib/python2.7/site-packages/osgeo/init.py", line 21, in _gdal = swig_import_helper() File "/Users/starsk/anaconda/envs/DV/lib/python2.7/site-packages/osgeo/init.py", line 17, in swig_import_helper _mod = imp.load_module('_gdal', fp, pathname, description) ImportError: dlopen(/Users/starsk/anaconda/envs/DV/lib/python2.7/site-packages/osgeo/_gdal.so, 2): Library not loaded: @rpath/./libhdf5_hl.9.dylib Referenced from: /Users/starsk/anaconda/envs/DV/lib/libnetcdf.7.dylib Reason: image not found
@starsk62 I ended up completely uninstalling anaconda and reinstalling with the newest version. It drove me crazy updating one and then the other and getting these errors. Not an ideal solution but it worked for me.
I'm getting a conflict between
h5py
andgdal
on Anaconda 2.3, Python 3.4.3, OS X:If
gdal
is installed,hdf5
downgrades (hdf5: 1.8.15.1-1 --> 1.8.14-0
) andh5py
won't import:If, then, I go and re-install
h5py
withconda install h5py
, thengdal
won't import:This doesn't happen with Anaconda 2.2 on my machine:
Happy to provide any other information.