Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.6-intel/egg/h5py/__init__.py", line 10, in <module>
File "build/bdist.macosx-10.6-intel/egg/h5py/_errors.py", line 7, in <module>
File "build/bdist.macosx-10.6-intel/egg/h5py/_errors.py", line 6, in __bootstrap__
ImportError: dlopen(/Users/lewislevinmbr/.python-eggs/h5py-2.2.1-py2.7-macosx-10.6-intel.egg-tmp/h5py/_errors.so, 2): Library not loaded: /mnt/scr1/release-binary/hdf5/v187/builds/fred/lib/libhdf5.7.dylib
Referenced from: /Users/lewislevinmbr/.python-eggs/h5py-2.2.1-py2.7-macosx-10.6-intel.egg-tmp/h5py/_errors.so
Reason: image not found
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/h5py/__init__.py", line 10, in <module>
from h5py import _errors
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/h5py/_errors.so, 2): Library not loaded: /mnt/scr1/release-binary/hdf5/v187/builds/fred/lib/libhdf5.7.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/h5py/_errors.so
Reason: image not found
ImportError: dlopen(/Users/lewislevinmbr/Dropbox/Code Mac/Clean Mac Python Install/h5py/build/lib.macosx-10.6-intel-2.7/h5py/_errors.so, 2): Library not loaded: /mnt/scr1/release-binary/hdf5/v187/builds/fred/lib/libhdf5.7.dylib
So, how do I get h5py to look in a sensible place? Where on earth is it getting this crazy path (unlikely to exist on anyone's system)?
import h5py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/h5py/__init__.py", line 10, in <module>
from h5py import _errors
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/h5py/_errors.so, 2): Library not loaded: /mnt/scr1/release-binary/hdf5/v187/builds/fred/lib/libhdf5.7.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/h5py/_errors.so
Reason: image not found
In file included from h5py/defs.c:259:
h5py/api_compat.h:22:10: fatal error: 'hdf5.h' file not found
#include "hdf5.h"
^
1 warning and 1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
dlopen(libhdf5.so, 6): image not found
HDF5 autodetection failed; building for 1.8.4+
When I am actually building against 1.8.7 (well, I guess > 1.8.4 should work...)