luarocks / hererocks

Python script for installing Lua/LuaJIT and LuaRocks into a local directory
MIT License
71 stars 12 forks source link

needs python3 in shebang to work on macos. #30

Closed tenturestept closed 4 months ago

tenturestept commented 4 months ago

the current script won't execute if downloaded and run outside a virtual environment. it gives

env: python: No such file or directory

i solved by changing the shebang to reference python3 instead of python.

un-def commented 4 months ago

The script is still Python 2 compatible, so python without specific version is more appropriate.

You can always run it as python3 hererocks.py.

tenturestept commented 4 months ago

oh wow