【发布时间】:2020-02-12 05:57:28
【问题描述】:
我安装了 JSON 库并将其与 require 一起使用,现在我想安装一个日期/时间库,但它说我必须通过 Lua Rocks 安装它。我搜索了这个,但毕竟没有结果
日期/时间库链接:https://github.com/daurnimator/luatz
我下载了luarocks.zip并点击了install.bat,在我的终端中打开它,现在我遇到了一个新的挑战:
========================
== Checking system... ==
========================
Admin privileges available for installing
Looking for Lua interpreter
checking C:\Users\Administrator\Downloads\Compressed\Cmder\vendor\conemu-maximus5\ConEmu\Scripts
checking C:\Users\Administrator\Downloads\Compressed\Cmder\vendor\conemu-maximus5
checking C:\Users\Administrator\Downloads\Compressed\Cmder\vendor\conemu-maximus5\ConEmu
checking C:\Program Files\Common Files\Oracle\Java\javapath
checking C:\ProgramData\Oracle\Java\javapath
checking C:\Windows\system32
checking C:\Windows
checking C:\Windows\System32\Wbem
checking C:\Windows\System32\WindowsPowerShell\v1.0
checking C:\Program Files\GtkSharp\2.12
checking C:\Users\Administrator\Downloads\Compressed\Lua53
Found lua53.exe, testing it...
Error: interpreter does not work
checking c:\lua5.1.2
checking c:\lua
checking c:\kepler\1.1
Could not find Lua. See /? for options for specifying the location of Lua, or installing a bundled copy of Lua 5.1.
Failed installing LuaRocks. Run with /? for help.
【问题讨论】:
标签: lua installation