loadcaffe icon indicating copy to clipboard operation
loadcaffe copied to clipboard

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

Open Cheeseyx opened this issue 7 years ago • 4 comments

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.

Cheeseyx avatar Oct 31 '17 06:10 Cheeseyx

any luck on this? having the same issue

mkirshner avatar Jan 17 '18 02:01 mkirshner

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

Yagun avatar Jan 19 '18 21:01 Yagun

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

Cheeseyx avatar Jan 19 '18 22:01 Cheeseyx

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.

Narthorn avatar Jan 27 '18 03:01 Narthorn