我需要在服务器上安装 Torch,
但它的安装指南需要以下行作为第一步:
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash
curl 没有安装在我的服务器上,我不是 root,所以我没有安装它的权限。
我下载了 URL 中的脚本文件,并对它进行了 chmod,
但由于权限问题无法执行。
有没有不使用 curl 的情况下安装 torch 的方法?
bash install-deps
结果
xxxx is not in the sudoers file. This incident will be reported.
最佳答案
需要安装 Torch 依赖项 - 如果您通过此脚本安装它,则需要 root 权限。
如果你保存了脚本,你可以启动它(不用 chmod)
bash install-deps
关于shell - torch 安装没有 curl ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35649011/