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這個版本。問題解決。