在安装h5py这个python包的时候遇到错误如下
h5py/api_compat.h:27:18: error: hdf5.h: No such file or directory
解决办法
到http://www.hdfgroup.org/HDF5/release/obtain5.html下载相应的版本
export HDF5_DIR=/path/hdf5-1.8.14-linux-centos5-x86_64-gcc412-shared/
然后再次python setup.py install 即可