When the debugger reached image.display(a), I received the following errors
/home/ubu/torch/install/bin/luajit: /home/ubu/torch/install/share/lua/5.1/trepl/init.lua:354: module 'qt' not found:No LuaRocks module found for qt no field package.preload['qt'] no file '/home/ubu/.luarocks/share/lua/5.1/qt.lua' no file '/home/ubu/.luarocks/share/lua/5.1/qt/init.lua' no file '/home/ubu/torch/install/share/lua/5.1/qt.lua' no file '/home/ubu/torch/install/share/lua/5.1/qt/init.lua' no file '/home/ubu/torch/install/bin/../share/lua/5.1/qt.lua' no file '/home/ubu/torch/install/bin/../share/lua/5.1/qt/init.lua' no file './qt.lua' no file '/home/ubu/torch/install/share/luajit-2.1.0-alpha/qt.lua' no file '/usr/local/share/lua/5.1/qt.lua' no file '/usr/local/share/lua/5.1/qt/init.lua' no file './qt/init.lua' no file './lua/qt.lua' no file './lua/qt/init.lua' no file '/home/ubu/torch/zbs-torch/lualibs/qt/qt.lua' no file '/home/ubu/torch/zbs-torch/lualibs/qt.lua' no file '/home/ubu/torch/zbs-torch/lualibs/qt/qt/init.lua' no file '/home/ubu/torch/zbs-torch/lualibs/qt/init.lua' no file '/home/ubu/.luarocks/lib/lua/5.1/qt.so' no file '/home/ubu/torch/install/lib/lua/5.1/qt.so' no file '/home/ubu/torch/install/bin/../lib/lua/5.1/qt.so' no file '/home/ubu/torch/install/bin/../lib/lua/5.1/qt.dylib' no file '/home/ubu/torch/install/bin/../lib/lua/5.1/loadall.so' no file '/home/ubu/torch/install/bin/../lib/lua/5.1/loadall.dylib' no file './qt.so' no file '/usr/local/lib/lua/5.1/qt.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/home/ubu/torch/zbs-torch/bin/linux/x64/libqt.so' no file '/home/ubu/torch/zbs-torch/bin/linux/x64/clibs/qt.so' stack traceback: [C]: in function 'error' /home/ubu/torch/install/share/lua/5.1/trepl/init.lua:354: in function 'require' /home/ubu/torch/install/share/lua/5.1/image/init.lua:1185: in function 'display' /home/ubu/torch/zbs-torch/untitled.lua:5: in main chunk [C]: in function 'dofile' .../ubu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk [C]: at 0x00406670
When I installed I received no error. Can you tell me please what went wrong ? What can I do to be able to use image.display. I also can't use itorch for displaying an image. So please tell me how can I display images?
Thank you very much in advance
Ajay Talati
unread,
May 2, 2015, 9:45:24 AM5/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tor...@googlegroups.com
Hello,
I think you can run your code using the qlua interpreter. You can start it using
qlua -e "require('trepl')()"
at the command line, and you should get the prompt