Missing dependency for hdf5: totem Error: Failed cloning git repository; git clome time out
Missing dependency for hdf5: totem Error: Failed cloning git repository; git clome time out
我尝试按照项目页面中的官方说明安装torch-hdf5,但出现缺少依赖项错误:
> $ luarocks make hdf5-0-0.rockspec LIBHDF5_LIBDIR="/usr/lib/x86_64-linux-gnu/"
Missing dependencies for hdf5:
totem
Using https://raw.githubusercontent.com/torch/rocks/master/totem-0-
0.rockspec... switching to 'build' mode
Cloning into 'torch-totem'...
fatal: unable to connect to github.com:
github.com[0: 192.30.255.113]: errno=Operation timed out
github.com[1: 192.30.255.112]: errno=Operation timed out
Error: Failed installing dependency:
https://raw.githubusercontent.com/torch/rocks/master/totem-0-0.rockspec - Failed cloning git repository.
实际上,我可以使用 git clone https://github.com/deepmind/torch-totem.git
克隆图腾。我想知道有什么方法可以在本地克隆后安装 torch-totem
,就像 luarocks make
或类似的东西。
我使用以下命令解决了依赖问题:
git clone https://github.com/deepmind/torch-totem.git
cd torch-totem
cp rocks/totem-0-0.rockspec ./ #copy the rockspec file in the root dirctory of project
luarock make
然后消息显示如下:
Updating manifest for xxx/torch/install/lib/luarocks/rocks
totem 0-0 is now built and installed in xxx/torch/install/ (license: BSD)
我尝试按照项目页面中的官方说明安装torch-hdf5,但出现缺少依赖项错误:
> $ luarocks make hdf5-0-0.rockspec LIBHDF5_LIBDIR="/usr/lib/x86_64-linux-gnu/"
Missing dependencies for hdf5:
totem
Using https://raw.githubusercontent.com/torch/rocks/master/totem-0-
0.rockspec... switching to 'build' mode
Cloning into 'torch-totem'...
fatal: unable to connect to github.com:
github.com[0: 192.30.255.113]: errno=Operation timed out
github.com[1: 192.30.255.112]: errno=Operation timed out
Error: Failed installing dependency:
https://raw.githubusercontent.com/torch/rocks/master/totem-0-0.rockspec - Failed cloning git repository.
实际上,我可以使用 git clone https://github.com/deepmind/torch-totem.git
克隆图腾。我想知道有什么方法可以在本地克隆后安装 torch-totem
,就像 luarocks make
或类似的东西。
我使用以下命令解决了依赖问题:
git clone https://github.com/deepmind/torch-totem.git
cd torch-totem
cp rocks/totem-0-0.rockspec ./ #copy the rockspec file in the root dirctory of project
luarock make
然后消息显示如下:
Updating manifest for xxx/torch/install/lib/luarocks/rocks
totem 0-0 is now built and installed in xxx/torch/install/ (license: BSD)