init.lua:389:module' loadcaffe'找不到:没有为loadcaffe找到LuaRocks模块

时间:2018-05-09 03:23:03

标签: lua luarocks

当我require"loadcaffe"时,我遇到如下错误:

/home/xus/torch/install/bin/luajit: /home/xus/torch/install/share/lua/5.1/trepl/init.lua:389: module 'loadcaffe' not found:No LuaRocks module found for loadcaffe
    no field package.preload['loadcaffe']
    no file '/home/supermicro/.luarocks/share/lua/5.1/loadcaffe.lua'
    ......
    no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
    [C]: in function 'error'
    /home/xus/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
    prepro_img.lua:8: in main chunk
    [C]: in function 'dofile'
    .../xus/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x00405d50

任何人都可以帮我解决这个问题吗?

0 个答案:

没有答案