windows - LuaRocks can't find luarocks.lua -


I have been facing difficulties in getting lurox to work in Windows 7. Whenever I run the Luarock, I get the following error:

  lua5.1: C: \ Program Files (x86) \ Lua \ luarocks.lua can not open: any such file or Directory now, check folders, it is actually such a case that luarocks.lua is not in C: \ Program Files (x86) \ Lua, but in C: \ Program Files (x 86) \ Lua \ 5.1. I do not know where to work or where to replace me, in case if I have installed the / megawatt / L / F option, but I have problems installing without any option documentation is not very helpful , And I have set all my path variables correctly, according to the text dump at the end of the installation. I could not find any errors during install. I have installed the latest version of Luac in 2.2.0   

Full path to LuRoux generated by installation script Luarocks.bat . You can change it there, but it seems that your LuaRocks installation is seriously broken: luarocks.lua should not in the C: \ Program Files (x86) Lua \ 5.1 but C: \ Program Files (x86) \ LuaRocks \ 2.2 , luarocks.bat (LuaRocks version number, 2.2 in this case, the location installed by the installation script is added to automatically , so I do not know how you can eliminate it with a path Like you.) You will most likely run into more problems in the way. This is the reason why this is why first.

This may be something simple like another failed installation attempt which interferes with the residual environment variable settings, but I suggest you (also accessible as a), and post Your solution here is once only when an underlying problem is resolved.


Comments