安装步骤参考官网http://torch.ch/docs/getting-started.html,
安装过程中可能遇见的问题
1.执行命令 git clone https://github.com/torch/distro.git ~/torch --recursive
后,可能提示类似RPC的貌似网络而导致的安装问题
解决方法:http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server,
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
- change
proxyuser
to your proxy user - change
proxypwd
to your proxy password - change
proxy.server.com
to the URL of your proxy server - change
8080
to the proxy port configured on your proxy server
若依然有问题,尝试 git config http.postBuffer 524288000
,然后重新执行命令
原因:国家防火墙的问题