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

lixin7895123 picture lixin7895123  路  3Comments

LarsHH picture LarsHH  路  3Comments

prathmeshrmadhu picture prathmeshrmadhu  路  3Comments

Ruhjkg picture Ruhjkg  路  3Comments

dfotland picture dfotland  路  3Comments