我试图在Ubuntu上运行Lua。在conda环境中,我已经安装了Lua 5.1,Luajit 2.0.5,Torch,并使用luarocks install --local hdf5
安装了hdf5。但是,当我尝试运行Lua程序时,出现错误消息:
lua: /home/xx/.luarocks/share/lua/5.1/hdf5/ffi.lua:64: Error: unable to parse HDF5 header file at /home/xx/anaconda3/pkgs/hdf5-1.10.2-hba1933b_1/include/hdf5.h
stack traceback:
[C]: in function 'error'
/home/xx/.luarocks/share/lua/5.1/hdf5/ffi.lua:64: in function 'loadHDF5Header'
/home/xx/.luarocks/share/lua/5.1/hdf5/ffi.lua:79: in main chunk
[C]: in function 'dofile'
/home/xx/.luarocks/share/lua/5.1/torch/init.lua:54: in function 'include'
/home/xx/.luarocks/share/lua/5.1/hdf5/init.lua:29: in main chunk
[C]: in function 'require'
milnet/main.lua:1: in main chunk
[C]: at 0x5595c858acb0
已经坚持了一天,有人可以救我吗?