Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is your gym version #6

Open
deepdata-foundation opened this issue Sep 28, 2019 · 1 comment
Open

what is your gym version #6

deepdata-foundation opened this issue Sep 28, 2019 · 1 comment

Comments

@deepdata-foundation
Copy link

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
Copy link

TigerStone93 commented Oct 4, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants