题意:“缺少用于在 Colab 中渲染 OpenAI Gym 的软件包。”
问题背景:
I'm attempting to render OpenAI Gym environments in Colab via a Mac using the StarAI code referenced in previous questions on this topic. However, it fails. The key error (at least the first error) is shown in full below, but the import part seems to be "Please install xdpyinfo!"
“我正在尝试通过 Mac 使用之前问题中提到的 StarAI 代码在 Colab 中渲染 OpenAI Gym 环境。然而,它失败了。关键错误(至少是第一个错误)如下所示,错误的主要部分似乎是 ‘请安装 xdpyinfo!’”
PyPI doesn't have xdpyinfo. What is it and how do I install it?
“PyPI 上没有 xdpyinfo。它是什么,我该如何安装?”
Full error message: 全部错误信息:
482780428160 abstractdisplay.