我正在尝试跑步tflearn
(Debian 8)
当我在本地运行该代码时,它运行良好(它显示窗口)。但是当我执行 ssh 时,出现错误。请注意,我可以通过 ssh 打开其他 gui 应用程序(例如 xfce4)
这是错误的片段。注意前两行
libGL 错误:找不到匹配的 fbConfigs 或视觉效果 libGL 错误:无法加载驱动程序:swrast
Traceback (most recent call last): File "test.py", line 453, in
<module>
tf.app.run() File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/platform/app.py",
line 30, in run
sys.exit(main(sys.argv)) File "test.py", line 450, in main
train(session, graph_ops, num_actions, saver) File "test.py", line 399, in train
env.render() File "/usr/local/lib/python3.4/dist-packages/gym/core.py", line 192, in
render
return self._render(mode=mode, close=close) File "/usr/local/lib/python3.4/dist-packages/gym/envs/atari/atari_env.py",
line 119, in _render
from gym.envs.classic_control import rendering File "/usr/local/lib/python3.4/dist-packages/gym/envs/classic_control/rendering.py",
line 23, in <module>
我没有安装显卡,并且在 GA-78LMT-USB3 上使用 amd 处理器