torch / torch7

http://torch.ch
Other
9k stars 2.38k forks source link

installation/compilation error...in torch #1088

Open msiraj83 opened 7 years ago

msiraj83 commented 7 years ago

Hi.. I try to install torch on my Ubuntu 16.04 LTS with Cuda-9.0 ...but i face the following error... can any body help me.... torch_compilation_error

patrickacole commented 7 years ago

I have the same issue.

sdlmw commented 7 years ago

I have the same issue.too

patrickacole commented 7 years ago

I managed to install torch by cloning the repository torch/ezinstall and running the following commands:

cd ezinstall
./install-deps
./install-luajit+torch

After this you can install the other dependancies manually with luarocks. Hope this helps.

sdlmw commented 7 years ago

./install-luajit+torch Where is this file, please? @cole106

patrickacole commented 7 years ago

It is located in this repository. @sdlmw https://github.com/torch/ezinstall

sdlmw commented 7 years ago

I tried your way to successfully install, thank you @cole106

sdlmw commented 7 years ago

But I ran a task. error: no luarocks module found for cutorch. why is this? @cole106

patrickacole commented 7 years ago

Try downloading luarocks with sudo apt-get install luarocks @sdlmw

sdlmw commented 7 years ago

if use the command 'sudo apt-get install luarocks', Get the message: luarocks is already the newest version @cole106

patrickacole commented 7 years ago

@sdlmw Did you install cutorch? To do that use the following:

sudo luarocks install cutorch
sudo luarocks install cunn
sdlmw commented 7 years ago

thanks @cole106