我想在macOS上用LuaRocks安装nn。但运行 sudo luarocks install nn //I use sudo because otherwise I don't have permission to install
当我收到错误 lnn.c:4:9: fatal error: 'nanomsg/nn.h' file not found include ^1 error g
我在Lua中是全新的。这就是我在新的虚拟Ubuntu上所做的。首先,我安装从官方网站下载的lua-5.3.4。 make linux
make install
而这是依赖关系库的README.md暗示我做的。 luarocks install torch
luarocks install nn
luarocks install dpnn
luarocks install torchx
我已经按照的说明安装了割枪,它附带了Lua 5.1,但之前在我的系统上安装了Lua 5.3。现在,当我尝试运行使用火炬计划,我得到了以下错误消息: /Users/Marcel/torch/install/share/lua/5.1/trepl/init.lua:389: module 'Settings.arguments' not found:No LuaRocks module found f