lcswillems/rl-starter-files

Issues during "example of use"

Closed this issue · 2 comments

when I run the visualize script with the suggested command I get:

if done or env.window.closed:
AttributeError: 'pygame.surface.Surface' object has no attribute 'closed'

I'm using python3.10

minigrid documentation states that We have added a Pygame-based rendering backend that is faster and more consistent with other Farama libraries. As a result, minigrid.utils.window.Window has been removed for version 2.2.0.
I therefore suggest to modify the requirements.txt with minigrid<2.2.0

Seconded, please change the scripts referenced in the README to use the new Minigrid renderer.