RDN icon indicating copy to clipboard operation
RDN copied to clipboard

.lua file

Open prathapsoma opened this issue 2 years ago • 7 comments

When I am working on '.lua' code to convert from png to t7 format it is showing error. the error is

Error -> [string "png_to_t7.lua"]:1: module 'image' not found: no field package.preload['image'] no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x64__5b5h4n7n89bzm\lua\image.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x64__5b5h4n7n89bzm\lua\image\init.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x64__5b5h4n7n89bzm\image.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x64__5b5h4n7n89bzm\image\init.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x64__5b5h4n7n89bzm..\share\lua\5.3\image.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x64__5b5h4n7n89bzm..\share\lua\5.3\image\init.lua' no file '.\image.lua' no file '.\image\init.lua'

I changed the path of DIV2K folder. still same error appears can any one suggest me what mistake i made.#

the code file attached below for your reference.

Thank you in advance.

prathapsoma avatar Jan 19 '23 16:01 prathapsoma

hello,there is the same error on me.... do you solve it?

fantasy-zc avatar Apr 20 '23 09:04 fantasy-zc

hello,there is the same error on me.... do you solve it? there is the same error on me too do you solve it?

neverwinHao avatar May 07 '24 12:05 neverwinHao

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

fantasy-zc avatar May 08 '24 01:05 fantasy-zc

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

Thank you for your reply ! Good Luck!

neverwinHao avatar May 09 '24 03:05 neverwinHao

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

Thank you for your reply ! Good Luck! my pleasure !

fantasy-zc avatar May 09 '24 03:05 fantasy-zc

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

Thank you for your reply ! Good Luck! my pleasure !

Hello ! I get a method in Windows to solove it. But i failed in my Windows. I think it may help you too. Here is the answer < You probably don't have Torch installed. https://stackoverflow.com/questions/48277220/get-lua-running-with-torch-on-windows-10-with-limited-admin-rights>! Best Wishes!

neverwinHao avatar May 09 '24 08:05 neverwinHao

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

Thank you for your reply ! Good Luck! my pleasure !

Hello ! I get a method in Windows to solove it. But i failed in my Windows. I think it may help you too. Here is the answer < You probably don't have Torch installed. https://stackoverflow.com/questions/48277220/get-lua-running-with-torch-on-windows-10-with-limited-admin-rights>! Best Wishes!

ok ok , thank you ! i will try it

fantasy-zc avatar May 09 '24 10:05 fantasy-zc