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这个版本。问题解决。

posted @ 2018-03-06 19:46  jiu~  阅读(22033)  评论(0编辑  收藏  举报