what is your gym version
deepdata-foundation opened this issue · 1 comments
deepdata-foundation commented
it said
AttributeError: 'EnvSpec' object has no attribute 'max_episode_seconds'
in /EPG/epg/envs/random_robots.py", line 130, in meta_reset
max_episode_seconds=spec.max_episode_seconds
It may be my gym version is not the same as yours.
my gym is gym-0.14.0
TigerStone93 commented
I found a solution.
'gym/envs/registration.py' doesn't have 'max_episode_seconds' attibute.
Delete 'max_episode_seconds' from 'random_robots.py' works for me.
Maybe this code doesn't pre-checked before upload.
My gym version: 17.0.2.