EPG icon indicating copy to clipboard operation
EPG copied to clipboard

what is your gym version

Open deepdata-foundation opened this issue 6 years ago • 1 comments

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

deepdata-foundation avatar Sep 28 '19 11:09 deepdata-foundation

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.

TigerStone93 avatar Oct 04 '20 10:10 TigerStone93