loadcaffe icon indicating copy to clipboard operation
loadcaffe copied to clipboard

Luarocks Failed to Clone Loadcaffe

Open rktaylor opened this issue 9 years ago • 8 comments

Hello,

I'm having trouble using Luarocks to install Loadcaffe, please advise?

user@myserver:~/torch$ CC=gcc-5 CXX=g++-5 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'... fatal: unable to connect to github.com: github.com[0: 192.30.253.113]: errno=Connection timed out github.com[1: 192.30.253.112]: errno=Connection timed out

Error: Failed cloning git repository.

Of course I can connect to github.com, and the IPs above resolve just fine.

rktaylor avatar Nov 18 '16 02:11 rktaylor

Have u resolved this problem??

stereoF avatar Feb 20 '17 11:02 stereoF

I did, but I cannot remember how. I apologize, I should have come back here and followed up :/

rktaylor avatar Feb 20 '17 19:02 rktaylor

try git config --global url.https://github.com/.insteadOf git://github.com/ or https instead of git

szagoruyko avatar Feb 20 '17 21:02 szagoruyko

I tried "https instead of git" but nothing changed

stereoF avatar Feb 21 '17 07:02 stereoF

OHHHH. I ended up doing something like this and it worked. Play around with it a bit, this is definitely the root of the problem.

rktaylor avatar Feb 21 '17 19:02 rktaylor

Okay, using shadowsocks and proxychains, this problem has been resolved

stereoF avatar Feb 22 '17 02:02 stereoF

You can change the network you are using. I connected to the hotspot of mobile and i ran the command "luarocks install loadcaffe" , and it worked.

ansu1234 avatar Mar 20 '17 10:03 ansu1234

@ansu1234 It works for me!Thanks a lot!

gaoyangyiqiao avatar Jan 12 '18 07:01 gaoyangyiqiao