python安装h5py

sudo pip install cython
sudo apt-get install libhdf5-dev
sudo pip install h5py

test:

python 
import h5py

如果出现“Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated...”错误,则是numpy版本问题,重新安装numpy的1.13.3这个版本。问题解决。

原文地址:https://www.cnblogs.com/jiu0821/p/8516361.html