💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] ### 插件Emmylua安装 ***** ### Lua环境安装 ***** #### wnidows系统上安装 Lua window下你可以使用一个叫"SciTE"的IDE环境来执行lua程序,下载地址为: * 下载地址:[LuaForWindows\_v5.1.4-46.exe](http://static.runoob.com/download/LuaForWindows_v5.1.4-46.exe) * Github 下载地址:[https://github.com/rjpcomputing/luaforwindows/releases](https://github.com/rjpcomputing/luaforwindows/releases) * Google Code下载地址 :[https://code.google.com/p/luaforwindows/downloads/list](https://code.google.com/p/luaforwindows/downloads/list) 双击安装后即可在该环境下编写 Lua 程序并运行。 #### Linux/MacOS linux 上安装 ``` curl -R -O http://www.lua.org/ftp/lua-5.3.0.tar.gz tar zxf lua-5.3.0.tar.gz cd lua-5.3.0 make linux test make install ``` 出现错误:lua.c:80:10: fatal error: readline/readline.h: No such file or directory 据度娘说是因为缺少`libreadline-dev`依赖包的原因,安装便是: ``` $ sudo apt-get install libreadline-dev ``` macos上安装 ``` curl -R -O http://www.lua.org/ftp/lua-5.3.0.tar.gz tar zxf lua-5.3.0.tar.gz cd lua-5.3.0 make macosx test make install ```