python安装h5py

时间:2018-03-06 21:53:19   收藏:0   阅读:1868
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这个版本。问题解决。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!