gpt4 book ai didi

lua - 运行 Torch/Lua 时出错,可能是安装错误

转载 作者:行者123 更新时间:2023-12-01 02:03:49 26 4
gpt4 key购买 nike

我按照 http://torch.ch/docs/getting-started.html 安装了 Torch .

但是,当我运行诸如“th”或任何简单代码之类的东西时,我收到以下错误消息:

/Users/JianxuChen/torch/install/bin/luajit: ...rs/JianxuChen/torch/install/share/lua/5.1/trepl/init.lua:692: 尝试调用字段“seteaptracking”(零值)
堆栈回溯:
...rs/JianxuChen/torch/install/share/lua/5.1/trepl/init.lua:692: 在主块中
[C]:在函数“要求”中
...Chen/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:104: 在主块中
[C]:在 0x01089f8bc0

有没有人遇到过类似的问题,或者对如何解决它有任何想法?

谢谢!

最佳答案

我遇到了同样的问题并以这种方式解决了它。您的手电筒不是最新版本。我所做的不是遵循此 http://torch.ch/docs/getting-started.html .而是下载 https://github.com/torch/distro并运行 ./install。然后它起作用了!

关于lua - 运行 Torch/Lua 时出错,可能是安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34259877/

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