error building h5py: deprecated numpy
I have just installed h5py
, and yeah numpy is a dependency.
numpy==1.11.2h5py==2.6.0
I encountered h5py installation failure, due to missing hdf5 development library - also had the numpy api deprecation warning all over the stdout:
/home/ahmed/virtualenvs/venv_anytime_rc/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \
Main cause of failure was missing hdf5 development lib, which got resolved once the I installed the package
For CentOS
sudo yum -y install hdf5-devel
For Ubuntu
sudo apt-get install libhdf5-dev
Note: above command will install hdf5
development lib version 1.8.12