Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pip install ilua in specify lua version? #21

Closed
shining-byte opened this issue Oct 14, 2021 · 4 comments
Closed

How to pip install ilua in specify lua version? #21

shining-byte opened this issue Oct 14, 2021 · 4 comments

Comments

@shining-byte
Copy link

pip install ilua default use lua 5.1,I want lua 5.2 version,How to get this. Thanks.

@shining-byte
Copy link
Author

I find if system haven't install lua,will default install 5.1 versioon, otherwise will follow system version.

@guysv
Copy link
Owner

guysv commented Oct 14, 2021

FYI you can pass ilua -i <lua interpreter> to use a custom interpreter

@shining-byte
Copy link
Author

FYI you can pass ilua -i <lua interpreter> to use a custom interpreter
I know,but I use ilua in JuypterLab.

@xerron
Copy link

xerron commented Aug 13, 2023

change ~/.local/share/jupyter/kernels/lua/kernel.json to:

example luajit, 5.1 , 5.2 ... etc

{
  "argv": [
    "python",
    "-m",
    "ilua.app",
    "-i",
    "luajit",
    "-c",
    "{connection_file}"
  ],
  "display_name": "Lua",
  "language": "lua",
  "interrupt_mode": "message"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants