【发布时间】:2020-11-28 15:46:14
【问题描述】:
写luarocks install gumbo时
在 cmd 中我的 luarocks 文件的位置/目录中,我收到以下错误
Warning: Could not find Lua 5.3 in PATH.
Modules may not install with the correct configurations. You may want to specify the path prefix to your build of Lua 5.3 using --lua-dir
Installing https://luarocks.org/gumbo-0.5-1.src.rock
Error: Failed finding Lua library. You may need to configure LUA_LIBDIR.
我已将 lua53.exe 添加到同一目录,并将该文件添加到我的用户变量和控制面板中的系统变量中。
不确定是否值得一提,但是当运行 lua53.exe 并尝试从那里使用luarocks install gumbo 时,
lua53 类似 cmd 的窗口以 stdin:1: syntax error near 'install' 响应
我希望用 lua 做一些网页抓取,然后构建一个魔兽世界插件,它利用秋葵在 WoW 客户端中显示某些有用的信息,但我似乎连最基本的东西都无法工作。 .
【问题讨论】:
标签: lua add-on luarocks world-of-warcraft gumbo