Error starting Torch / Lua, possibly installation error

I installed the torch after http://torch.ch/docs/getting-started.html .

However, when I run things like "th" or any simple code, I received 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 the setheaptracking field (a zero) stack trace : ... rs / JianxuChen / torch / install / share / lua / 5.1 / trepl / init.lua: 692: in the main snippet [C]: in the 'require' function ... Chen / torch / install / lib / luarocks / rocks / trepl / scm-1 / bin / th: 104: in the main piece [C]: at 0x01089f8bc0

Has anyone encountered a similar problem or had any idea how to solve it?

Thanks!

+4
source share
1 answer

I met the same problem and solved it this way. Your torch is not the latest version. What I am doing is NOT following this http://torch.ch/docs/getting-started.html . Instead, download https://github.com/torch/distro and run. / install. Then it works!

+3
source

Source: https://habr.com/ru/post/1619784/


All Articles