-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module 'threads' not found: #100
Comments
It's fixed. Using sudo command for using luarocks was forcing bash to use system luarocks not torch dist. |
i think I have simialr issue to what you had
I have more details here https://github.com/phillipi/pix2pix/issues/177 Any help would be great, thanks! |
Hi. I get this error while trying to run my app:
[ 0][t 0][1508748296.451671124][clilua.cpp:171][!CliClient] lua: /home/BlueBerry_TDBOT/bot.lua:1: module 'threads' not found: no field package.preload['threads'] no file '/usr/local/share/lua/5.2/threads.lua' no file '/usr/local/share/lua/5.2/threads/init.lua' no file '/usr/local/lib/lua/5.2/threads.lua' no file '/usr/local/lib/lua/5.2/threads/init.lua' no file '/usr/share/lua/5.2/threads.lua' no file '/usr/share/lua/5.2/threads/init.lua' no file './threads.lua' no file '/usr/local/lib/lua/5.2/threads.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.2/threads.so' no file '/usr/lib/lua/5.2/threads.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './threads.so'
I was thinking maybe this is related to $LUA_PATH so:
echo $LUA_PATH /root/.luarocks/share/lua/5.2/?.lua;/root/.luarocks/share/lua/5.2/?/init.lua;/root/torch/install/share/lua/5.2/?.lua;/root/torch/install/share/lua/5.2/?/init.lua;/root/torch/install/lib/lua/5.2/?.lua;/root/torch/install/lib/lua/5.2/?/init.lua;./?.lua echo $LUA_CPATH /root/torch/install/lib/?.so;/root/.luarocks/lib/lua/5.2/?.so;/root/torch/install/lib/lua/5.2/?.so;/root/torch/install/lib/lua/5.2/loadall.so;./?.so
Seems weird to me. Any way to fix it?
The text was updated successfully, but these errors were encountered: