Luarocks Failed to Clone Loadcaffe
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.
Have u resolved this problem??
I did, but I cannot remember how. I apologize, I should have come back here and followed up :/
try git config --global url.https://github.com/.insteadOf git://github.com/ or https instead of git
I tried "https instead of git" but nothing changed
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.
Okay, using shadowsocks and proxychains, this problem has been resolved
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 It works for me!Thanks a lot!