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

Can't Install on Windows / System Cannot Find Path Specified #104

Open
Cheeseyx opened this issue Oct 31, 2017 · 4 comments
Open

Can't Install on Windows / System Cannot Find Path Specified #104

Cheeseyx opened this issue Oct 31, 2017 · 4 comments

Comments

@Cheeseyx
Copy link

Cheeseyx commented Oct 31, 2017

I'm trying to install loadcaffe via luarocks on Windows 10. I already have Torch installed from https://github.com/hiili/WindowsTorch. When I try to install loadcaffe, I get the following error:

C:\torch>luarocks install loadcaffe
Installing https://raw.githubusercontent.com/torch/rocks/master/loadcaffe-1.0-0.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/loadcaffe-1.0-0.rockspec... switching to 'build' mode
Cloning into 'loadcaffe'...
remote: Counting objects: 18, done.
remote: Compressing objects: 100% (17/17), done.
Rremote: Total 18 (delta 0), reused 5 (delta 0), pack-reused 0
Receiving objects: 100% (18/18), 19.28 KiB | 1.48 MiB/s, done.
cmake -E make_directory build;
cd build;
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="C:/torch/bin/.." -DCMAKE_INSTALL_PREFIX="C:/torch/luarocks/loadcaffe/1.0-0";
nmake

C:\Users\Tara\AppData\Local\Temp\luarocks_loadcaffe-1.0-0-2818\loadcaffe>if -E == -E (cmake.exe -E make_directory build; ) else (cmake.exe -G "NMake Makefiles" -DCMAKE_LINK_FLAGS:implib=libluajit.lib -DLUALIB=libluajit -E make_directory build; )
cd build && nmake install
The system cannot find the path specified.

Error: Build error: Failed installing.

I'm running it in the developer command prompt, so cl, nmake, and cmake.exe are all in my path at the time, so I'm unclear on what path the system is unable to find.

@mkirshner
Copy link

any luck on this? having the same issue

@Yagun
Copy link

Yagun commented Jan 19, 2018

Same error. Please share a solution if you found it.

@Cheeseyx
Copy link
Author

I couldn't fix the error, and just switched to using Tensorflow instead of Torch.

@Narthorn
Copy link

Instead of luarocks install loadcaffe, I've had success cloning the loadcaffe repository in a local folder, then from that folder, doing luarocks make loadcaffe-1.0-0.rockspec.

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

4 participants