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

FreakTheMighty picture FreakTheMighty  路  3Comments

weather319 picture weather319  路  3Comments

OpenHero picture OpenHero  路  3Comments

iamhankai picture iamhankai  路  3Comments

erogol picture erogol  路  3Comments