Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luarocks install not working #3

Open
angelleng opened this issue Oct 19, 2016 · 1 comment
Open

luarocks install not working #3

angelleng opened this issue Oct 19, 2016 · 1 comment

Comments

@angelleng
Copy link

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.

@alexbw
Copy link
Owner

alexbw commented Oct 19, 2016

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
#3, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAJ4jzKom7Csk22o_A2fqutMHBt4-g37ks5q1YEWgaJpZM4Kaf0w
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants