twitter-archive/torch-ipc

examples fail with: "no field package.preload['torch']"

nafitzgerald opened this issue · 0 comments

Trying to run the simple examples map.lua, I get the following error:

WARN1: ipc.map thread pcall failed: [string "require 'torch'; require 'libipc'; pcall(func..."]:1: module 'torch' not found:
        no field package.preload['torch']
        no file '/home/nfitz/.luarocks/share/lua/5.1/torch.lua'
        no file '/home/nfitz/.luarocks/share/lua/5.1/torch/init.lua'
        no file '/home/nfitz/torch/install/share/lua/5.1/torch.lua'
        no file '/home/nfitz/torch/install/share/lua/5.1/torch/init.lua'
        no file '/home/nfitz/programs/torch/install/share/lua/5.1/torch.lua'
        no file '/home/nfitz/programs/torch/install/share/lua/5.1/torch/init.lua'
        no file './torch.lua'
        no file '/home/nfitz/programs/torch/install/share/luajit-2.1.0-beta1/torch.lua'
        no file '/usr/local/share/lua/5.1/torch.lua'
        no file '/usr/local/share/lua/5.1/torch/init.lua'
        no file '/home/nfitz/torch/install/lib/torch.so'
        no file '/home/nfitz/.luarocks/lib/lua/5.1/torch.so'
        no file '/home/nfitz/torch/install/lib/lua/5.1/torch.so'
        no file '/home/nfitz/torch/install/lib/torch.so'
        no file '/home/nfitz/programs/torch/install/lib/torch.so'
        no file '/home/nfitz/programs/torch/install/lib/lua/5.1/torch.so'
        no file './torch.so'
        no file '/usr/local/lib/lua/5.1/torch.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'