torch / torch7

http://torch.ch
Other
8.98k stars 2.38k forks source link

module 'paths' not found: #1241

Open RamIrzaev opened 2 years ago

RamIrzaev commented 2 years ago

Problem using torch library on Windows: SciTE:


lua: torch\init.lua:12: module 'paths' not found:
no field package.preload['paths']
no file '.\paths.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\paths.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\paths\init.lua'
no file 'C:\Program Files (x86)\Lua\5.1\paths.lua'
no file 'C:\Program Files (x86)\Lua\5.1\paths\init.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\paths.luac'
no file '.\paths.dll'
no file '.\paths51.dll'
no file 'C:\Program Files (x86)\Lua\5.1\paths.dll'
no file 'C:\Program Files (x86)\Lua\5.1\paths51.dll'
no file 'C:\Program Files (x86)\Lua\5.1\clibs\paths.dll'
no file 'C:\Program Files (x86)\Lua\5.1\clibs\paths51.dll'
no file 'C:\Program Files (x86)\Lua\5.1\loadall.dll'
no file 'C:\Program Files (x86)\Lua\5.1\clibs\loadall.dll'
stack traceback:
[C]: in function 'require'
init.lua:12: in main chunk
[C]: ?
Exit code: 1

do not write about Linux, I saw: Torch test.sh, /usr/bin/lua: module 'paths' not found