bayarea-dl-summerschool icon indicating copy to clipboard operation
bayarea-dl-summerschool copied to clipboard

luarocks install not working

Open angelleng opened this issue 8 years ago • 1 comments

Hi there, I installed lua and luarocks as shown and I am not able to install packages using luarocks.

For example when I type luarocks install nngraph it returns

Error: No results matching query were found.

I am able to run the notebooks though.

angelleng avatar Oct 19 '16 02:10 angelleng

This is an unfortunate gotcha of a) the luarocks version I'm using and b) luarocks in general. The luarocks that comes with torch adds special packages, like the one you're trying to install. I include the "vanilla" luarocks with my lua distribution. So, if you want to install Torch packages

  • Clone the github repo
  • cd into it
  • luarocks install {path_to_the_rockspec}

On Tue, Oct 18, 2016 at 10:31 PM angelleng [email protected] wrote:

Hi there, I installed lua and luarocks as shown and I am not able to install packages using luarocks.

For example when I type luarocks install nngraph it returns

Error: No results matching query were found.

I am able to run the notebooks though.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alexbw/bayarea-dl-summerschool/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ4jzKom7Csk22o_A2fqutMHBt4-g37ks5q1YEWgaJpZM4Kaf0w .

alexbw avatar Oct 19 '16 09:10 alexbw