使用Torch& lua时出现HDF5错误:"无法在hdf5.h找到HDF5头文件"

时间:2017-06-07 08:59:52

标签: lua hdf5 torch

我试图运行neuraltalk2代码:它抛出一个错误,说它无法找到hdf5头文件:

/home/jaysen/torch/install/bin/luajit: /home/jaysen/torch/install/share 
/lua/5.1/trepl/init.lua:389: /home/jaysen/torch/install/share/lua/5.1
/trepl    /init.lua:389: /home/jaysen/torch/install/share/lua/5.1
/hdf5/ffi.lua:42: Error: unable to locate HDF5 header file at hdf5.h


stack traceback:
    [C]: in function 'error'
    /home/jaysen/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
    eval.lua:8: in main chunk
    [C]: in function 'dofile'
    ...ysen/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x55fce2035470

我正在运行ubuntu。

0 个答案:

没有答案