Reputation: 53
I installed Torch following http://torch.ch/docs/getting-started.html.
However, when I run things like "th" or any simple code, I got the following error message:
/Users/JianxuChen/torch/install/bin/luajit: ...rs/JianxuChen/torch/install/share/lua/5.1/trepl/init.lua:692: attempt to call field 'setheaptracking' (a nil value) stack traceback: ...rs/JianxuChen/torch/install/share/lua/5.1/trepl/init.lua:692: in main chunk [C]: in function 'require' ...Chen/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:104: in main chunk [C]: at 0x01089f8bc0
Does anyone have ever encountered similar issue, or have any idea about how to solve it?
Thanks!
Upvotes: 4
Views: 964
Reputation: 41
I met the same problem and solved it in this way. Your torch is not the latest version. What I do is NOT follow this http://torch.ch/docs/getting-started.html. Instead download https://github.com/torch/distro and run ./install. Then it works!
Upvotes: 3