-1

I never used Lua, and I need to run scripts from this repository

I followed instructions from here to install Lua interpreter and Torch (I'm working on Windows). But then I had problems installing the required libraries through luarocks, so running the scripts I have some errors at very first "require ..." lines.

I also tried to install Torch on Google Colab, and then to run scripts using lutorpy, again with no success.

So I would be very grateful, if you can provide me some instructions to correctly set all the Lua stuffs and run these scripts. Sorry but I am very new in this kind of stuffs. Thank you so much.

1 Answers1

0

Since it looks like you already have most of your environment set up, it may be much easier to correct some errors at very first "require ..." lines. than to start from scratch. It appears that the script you are running can't find libraries installed with luarocks, so you need to figure out where those are installed and set package.path and package.cpath variables to point to luarocks environment. The error message contains the list of directories being searched, so you can use that as a check in case you add your directories incorrectly.

Paul Kulchenko
  • 25,884
  • 3
  • 38
  • 56