在 cmd 中写入luarocks install gumbo
我的 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 客户端中显示某些有用的信息,但我似乎连最基本的东西都无法使用...