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

Cannot install loadcaffe: "No results matching query were found" #48

Closed
blinry opened this issue Feb 6, 2016 · 9 comments
Closed

Cannot install loadcaffe: "No results matching query were found" #48

blinry opened this issue Feb 6, 2016 · 9 comments

Comments

@blinry
Copy link

blinry commented Feb 6, 2016

What am I missing? On Arch Linux:

$ luarocks --version
/usr/sbin/luarocks 2.3.0
LuaRocks main command-line interface
$ lua -v
Lua 5.3.2  Copyright (C) 1994-2015 Lua.org, PUC-Rio
$ sudo luarocks install loadcaffe

Error: No results matching query were found.
@szagoruyko
Copy link
Owner

install torch first http://torch.ch/docs

@blinry
Copy link
Author

blinry commented Feb 7, 2016

I did install Arch Linux' torch7-git and torch7-trepl-git packages, which provide the libraries and the th binary.

sudo luarocks search --all also does not list anything matching "loadcaffe". What else could I try to help debug this?

@szagoruyko
Copy link
Owner

torch maintains it's own rocks, make sure youre running luarocks from torch and not the system one.

@blinry
Copy link
Author

blinry commented Feb 7, 2016

Ah, I see. That's it, thanks! A .bashrc-modifying install script is a bit scary :]

@thistleknot
Copy link

I'm having the same issue, "No results matching query were found" I'm not exactly sure how to resolve it.

I see @szagoruyko 's comment, but not sure how to run it using torch. I tried running the command in torch but nothing happens.

I tried PATH=$PATH:~/torch/install/bin, still nogo

@thistleknot
Copy link

Solved:

sudo ~/torch/install/bin/luarocks install loadcaffe

@szagoruyko
Copy link
Owner

@thistleknot very bad idea, you should not use sudo with torch luarocks. your bashrc is most probably broken.

@jmbh
Copy link

jmbh commented Nov 29, 2016

@szagoruyko suggested a solution, but i have not the slightest idea how to do this. could someone post the actual solution?

@jcklpe
Copy link

jcklpe commented Dec 6, 2018

I've gotten a similar issue. Could this perhaps have something to do with running an alternative to bash? I'm using zsh and while it requested to add luarocks to path on my .zshrc it might have screwed something up and that's why it's not working. Thoughts?

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

5 participants