I am a new user to TORCH LDT
.
I have trouble loading module \'libpaths
\' (on Ubuntu
). The error log is:
This is how to configure torch + eclipse:
1) Configure the Lua interpreter with torch:
Go to Windows -> Preference -> Lua -> interpreter:
Interpreter Type : Lua 5.2
Interpreter executable : /opt/torch/install/bin/qlua (-> this is required to use qt features)
Interpreter name : Qt + Torch Interpreter arguments : -lenv -e "io.stdout:setvbuf('no'); if os.getenv('DEBUG_MODE') then require 'debugger' ; require 'debugger.plugins.ffi'end"
LinkedExecution argument : Lua 5.2
2) Pick this interpreter as a default interpreter
3) Also Working with an external interpreter, require that "LuaSocket" packet is installed, You will get a message error of "libsocket.so not found" when debugging if it is not installed
To install LuaSocket, you may try :
sudo luarocks install luasocket --only-server=http://luarocks.org/repositories/rocks-scm
or
sudo luarocks install luasocket
or
luarocks install luasocket
Credits to STRUB Floriab