-1
去找Lua我下面的官方文档安装LUPA:卢帕不能在OSX 10.11.4埃尔卡皮坦
brew install lua
brew install pkg-config
pip install lupa
我跑后,我可以成功地从命令行的任何文件夹运行LUA。但是,运行Django的管理命令(例如python manage.py migrate
)时,我得到以下错误:
dyld: lazy symbol binding failed: Symbol not found: _luaL_newstate
Referenced from: /Users/oz/.virtualenvs/my_project/lib/python2.7/site-packages/lupa/_lupa.so
Expected in: flat namespace
dyld: Symbol not found: _luaL_newstate
Referenced from: /Users/oz/.virtualenvs/my_project/lib/python2.7/site-packages/lupa/_lupa.so
Expected in: flat namespace
Trace/BPT trap: 5
我运行OSX 10.11.4埃尔卡皮坦,PIP 8.1.2,LUPA 1.3,LUA 5.2.4。
如何让lupa工作?