Caffe: fatal error: hdf5.h: No such file or directory

Created on 14 Oct 2016  ·  2Comments  ·  Source: BVLC/caffe

Most helpful comment

I met same error as yours and fixed it using method below :laughing:

sudo pip install h5py

After this, I edited the ~/caffe/Make.config file as below:
Add /usr/local/include and /usr/include/hdf5/serial/ after INCLUDE_DIRS := $(PYTHON_INCLUDE).
Then make all again!

All 2 comments

I met same error as yours and fixed it using method below :laughing:

sudo pip install h5py

After this, I edited the ~/caffe/Make.config file as below:
Add /usr/local/include and /usr/include/hdf5/serial/ after INCLUDE_DIRS := $(PYTHON_INCLUDE).
Then make all again!

did'nt work for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ruhjkg picture Ruhjkg  ·  3Comments

sdemyanov picture sdemyanov  ·  3Comments

inferrna picture inferrna  ·  3Comments

hawklucky picture hawklucky  ·  3Comments

FreakTheMighty picture FreakTheMighty  ·  3Comments