I've been trying to import h5py to read this type of file.
Here is my code:
import h5py
file_1 = h5py.File("Out_fragment.h5py")
print file_1
The output is:
Traceback (most recent call last):
File "./week11.py", line 17, in <module>
import h5py
ImportError: No module named h5py
I also used pip install h5py to get this module and am not sure why it did not seem install properly.
Thanks.
On Ubuntu. You can try the following three commands:
sudo pip install cython
sudo apt-get install libhdf5-dev
sudo pip install h5py
source: https://github.com/fchollet/keras/issues/3426
For windows you just need to install it normally using easy install feature:
pip install h5py
you can visit their website from here: H5py
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With