twitter-archive / torch-dataset

An extensible and high performance method of reading, sampling and processing data for Torch
Apache License 2.0
76 stars 24 forks source link

module 'libdataset' not found #18

Closed willfrey closed 4 years ago

willfrey commented 8 years ago

As of the most recent changes, I'm getting this error

module 'libdataset' not found:No LuaRocks module found for libdataset

The offender seems to be line 8 of Cache.lua. How can I fix this?

Thanks!

zakattacktwitter commented 8 years ago

Hmm,

It works for me, and CI is passing (ignore the Lua 5.2 errors). https://travis-ci.org/twitter/torch-dataset

Can you try rebuilding it? Perhaps luarocks make needs encouragement.

On Sat, Mar 5, 2016 at 2:13 PM, willfrey notifications@github.com wrote:

As of the most recent changes, I'm getting this error

module 'libdataset' not found:No LuaRocks module found for libdataset

The offender seems to be line 8 of Cache.lua. How can I fix this?

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/twitter/torch-dataset/issues/18.

willfrey commented 8 years ago

It appears that luarocks make dataset-scm-1.rockspec makes it work but luarocks install dataset breaks it.

joeyhng commented 8 years ago

Same issue for me. luarocks make dataset-scm-1.rockspec works but luarocks install dataset doesn't.

Halflernation commented 8 years ago

Guys, and how do you make from the rockspec?

"cannot stat 'lua/Index.lua': No such file or directory."

zakattacktwitter commented 8 years ago

Hi,

The only command you need to run is:

luarocks make

That should build and install everything.

Thanks, Zak