torch / torch7

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

./install.sh fails due to missing package moses #1081

Open ghost opened 7 years ago

ghost commented 7 years ago

During the ./install.sh step of the Torch installation instructions, I receive the following error:

Missing dependencies for nn:
moses >= 1.0

Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/torch/rocks/master - Failed downloading https://raw.githubusercontent.com/torch/rocks/master/manifest - /home/jkarimi91/.cache/luarocks/https___raw.githubusercontent.com_torch_rocks_master/manifest
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master - Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest - /home/jkarimi91/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest
msiraj83 commented 7 years ago

@jkarimi91 ...can you try this command...

luarocks --from=https://raw.githubusercontent.com/torch/rocks/master/ install nn

at least dependencies error for moses >= 1.0 will be remove.... this work for me and the dependencies error is removed...although i face other error...

its due to the reason that some time git not download some file properly...

3gghead commented 7 years ago

@msiraj83 Having same issue on debian 'stretch' (9) but your 'nn' is still missing the moses dependency. I assume moses is a lua rock. Tried in Torch, local and global installs but got same error. Could it be some restructuring following the 2.4.3 release of lua rocks?