Closed omair-kg closed 7 years ago
I am facing the same issue. I am behind a proxy and figured out the problem is due to proxy. I tried above commands and installed it. On completion gives same problem again. can anyone help in configuring proxy settings of github so it fetches raw.githubusercontent ?
@hemanthkatari97 Have u tried the specific way of install moses? luarocks install --tree /home/xxx/torch/install rockspec/moses-1.6.1-1.rockspec
Getting the following error: luarocks install --tree=/home/edx/torch/install rockspec/moses-1.6.1-1.rockspec Using rockspec/moses-1.6.1-1.rockspec... switching to 'build' mode
Error: Error fetching file: Failed downloading https://github.com/Yonaba/Moses/archive/Moses-1.6.1-1.tar.gz
Thanks for reply.
@hemanthkatari97 I don't know why you just download it from a browser? And extract it, get into the folder, and install it luarocks make --tree /home/xxx/torch/install rockspec/moses-1.6.1-1.rockspec
, I just made a typo, it should be make
instead of install
Since I was installing torch on my machine for first time, I had no chance to download and install moses
via luarocks make rockspec/*
. The following method worked for me.
nn
, nngraph
and cunn
in install.sh
. Doing so does not install the aforementioned packages../install.sh
should install torch without any errorsluarocks
will be available. Download moses and install it via luarocks make rockspec/*
.install.sh
, uncomment the lines and run ./install.sh
. All nn packages should be installed now without any errors.I have tried all the solutions mentioned above, each time I get a message saying
moses 1.6.1-1 is now built and installed in /home/torch (license: MIT <http://www.opensource.org/licenses/mit-license.php>)
But on running ./install.sh in /home/torch
I get the exact same error. What is going wrong?
@Marauderer97 It is due to proxy. Are you working behind a proxy?
sudo luarocks make *.rockspec try that
@hemanthkatari97 hello, I am facing the same issue. How did you configure the proxy settings to slove this problem? Thanks!
Ya you can check the detailed configuration proxy settings required in installation steps in the link provided
https://github.com/hemanthkatari97/EproctorX/blob/master/README.md
On 28-Oct-2017 6:30 PM, "hhw" notifications@github.com wrote:
@hemanthkatari97 https://github.com/hemanthkatari97 hello, I am facing the same issue. How did you configure the proxy settings to slove this problem? Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/torch/torch7/issues/1045#issuecomment-340189259, or mute the thread https://github.com/notifications/unsubscribe-auth/AQXLLfdgVj_EbL1FE23s4a4WEYaRTdC9ks5swyWJgaJpZM4N0IBi .
I was facing the same issue. I followed the steps mentioned by shriyashchougule. But was still getting the dependency issue with moses. Then I ran the ./install.sh with sudo and could complete the installation.
by using karthik-govindappa's suggestions i managed to install ./install.sh after removing grahp, cunn, nn.
then by using: luarocks make --tree /home/xxx/torch/install moses-package
finally ./install.sh without comments ran well.
do NOT use sudo anywhere here. it only caused me troubles.
I'm getting the following message while trying to install torch
I tried following the advice given here but still get the same message (missing dependency for nn).
Any idea what i should try next? Thanks in anticipation.