我在我的 OSX 10.10 机器上使用brew install lua
. 安装的版本是 5.2.4。LuaRocks 与 lua 包一起安装。但是当我跑步时,luarocks install <package_name>
我得到了Error: @@HOMEBREW_PREFIX@@ does not exist and your user does not have write permissions in
。我也尝试过使用sudo luarocks install <package_name>
,但它给出了同样的错误。如何解决这个问题?
请帮忙。谢谢