BinaryNet icon indicating copy to clipboard operation
BinaryNet copied to clipboard

Unable to install dependencies

Open KarthikGanesan88 opened this issue 7 years ago • 1 comments

Hi, I am very new to torch and i am trying to get this network up and running. However, when i try to install the dependencies, i get an error.

$ luarocks install https://raw.githubusercontent.com/eladhoffer/DataProvider.torch/master/dataprovider-scm-1.rockspec


CMake Error at CMakeLists.txt:8 (FIND_PACKAGE) By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Torch", but CMake could not find one.

Could not find a package configuration file provided by "Torch" with any of the following names:

TorchConfig.cmake
torch-config.cmake

Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set "Torch_DIR" to a directory containing one of the above files.

the other dependencies such as dp and unsup just say 'Error: No results matching query were found.'

should i first be cloning these 'dependencies' somewhere in my torch directory before building torch?

KarthikGanesan88 avatar Mar 30 '17 21:03 KarthikGanesan88

Try to call luarocks directly. For example, I did it by command

sudo ~/torch/install/bin/luarocks install <package_name>

Seems that I'm answering in time))) But hope it will help someone.

vladimirshadymov avatar Jul 28 '19 06:07 vladimirshadymov