Torch Lua 在 mac 上找不到默认终端
Torch Lua cannot find default terminal on mac
我将 OS 更新为 mac OS,然后用 brew upgrade
更新了 lua 和其他软件包。现在我无法在 lua 中使用 gnuplot,我收到此错误:
Can not find any of the default terminals for mac. You can manually set terminal by gnuplot.setterm("terminal-name")
注意:如果有帮助的话,我正在使用 iTerm2 作为终端。
问题实际上出在 gnuplot 本身,而不是 lua 或 torch。
我刚刚用 x11 重新安装了它并且它起作用了:
brew uninstall gnuplot; brew install gnuplot --with-x11
我将 OS 更新为 mac OS,然后用 brew upgrade
更新了 lua 和其他软件包。现在我无法在 lua 中使用 gnuplot,我收到此错误:
Can not find any of the default terminals for mac. You can manually set terminal by gnuplot.setterm("terminal-name")
注意:如果有帮助的话,我正在使用 iTerm2 作为终端。
问题实际上出在 gnuplot 本身,而不是 lua 或 torch。 我刚刚用 x11 重新安装了它并且它起作用了:
brew uninstall gnuplot; brew install gnuplot --with-x11