Closed phlippe closed 1 year ago
Thanks for bringing this to our attention. I believe this is indeed due to a new gym version. Could you try to see if you still experience that error with the latest master version?
Hi @ftraeuble, thanks for checking! Enforcing an older gym version (0.17.2), as in the new master, removes the error for me.
Hi, when trying to create an environment that runs in the observation mode "pixel", the environment crashes due to the attribute
self.observation_space
not being defined:Error:
I am not sure if this might be caused by a new gym version. A quick fix is to simply define
self.observation_space = None
before callingself._reset_observations_space()
in the init (line 171).