Thursday, July 31, 2014

pip install h5py error fix

If you got the error like following when you install h5py:

...
...
h5py/api_compat.h:27:18: fatal error: hdf5.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1
...
...

To fix it, just run the following command.

sudo apt-get install libhdf5-dev

No comments:

Post a Comment