Skip to content

module 'threads' not found: #100

@HellScre4m

Description

@HellScre4m

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions