Open NataliaDiaz opened 7 years ago
you need to add require 'dp'
What luarocks did you use when you were installing luafilesystem
? You should use the one that comes with Torch ~/torch/install/bin/luarocks
not the one that your Linux distribution has.
/torch/install/bin/luajit: train.lua:263: attempt to index global 'lfs' (a nil value) stack traceback: train.lua:263: in main chunk [C]: in function 'dofile' ...nter/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00406670
I have imported the following packages:
is there some native lua package I am missing? I have also installed:
luarocks install luafilesystem