gpt4 book ai didi

shell - torch 安装没有 curl

转载 作者:行者123 更新时间:2023-12-02 01:28:19 25 4
gpt4 key购买 nike

我需要在服务器上安装 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com