Caffe didn't see hdf5.h when compiling

后端 未结 5 1958
隐瞒了意图╮
隐瞒了意图╮ 2020-12-08 15:00

I am having trouble when installing Caffe Deep Learning Framework on Python:

When I run make command at caffe directory, it says

5条回答
  •  一个人的身影
    2020-12-08 15:25

    It did not work for me on Ubuntu16.04 LTS.

    So I had to

    sudo apt-get install libhdf5-10
    sudo apt-get install libhdf5-serial-dev
    sudo apt-get install libhdf5-dev
    sudo apt-get install libhdf5-cpp-11
    find /usr -iname "*hdf5.h*"
    /usr/include/hdf5/serial/hdf5.h
    

    Now do this

    export CPATH="/usr/include/hdf5/serial/"
    

提交回复
热议问题