openAI Gym'MazeEnvRandom10x10Plus'对象没有属性'monitor'

时间:2019-12-07 09:33:02

标签: python openai-gym

我正在尝试运行maze_2d_q_learning.py,这是来自openAI的maze2D的示例,但遇到了此错误:

  File "/Users/hangnguyen/Documents/maze.py", line 184, in <module>
    env.monitor.start(recording_folder, force=True)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gym/core.py", line 218, in __getattr__
    return getattr(self.env, name)
AttributeError: 'MazeEnvRandom10x10Plus' object has no attribute 'monitor'

我尝试在线查找,但没有找到特别适合maze_2D的解决方案。有人可以帮我吗?谢谢!

编辑:我安装了Gym和maze_2D模块,所以我不认为我忘了从openAI安装任何东西。

0 个答案:

没有答案