Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

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

Open
nafitzgerald opened this issue Mar 24, 2017 · 0 comments
Open

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

nafitzgerald opened this issue Mar 24, 2017 · 0 comments

Comments

@nafitzgerald
Copy link

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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant