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

gym.error.DeprecatedEnv: Env Pendulum-v1 not found #250

Open
aik7 opened this issue Jan 26, 2023 · 0 comments
Open

gym.error.DeprecatedEnv: Env Pendulum-v1 not found #250

aik7 opened this issue Jan 26, 2023 · 0 comments

Comments

@aik7
Copy link
Collaborator

aik7 commented Jan 26, 2023

I cannot compare with stable-baseline3 since Pendulum-v1 is not available in EXARL.
Note:
EXARL supports Pendulum-v0, but not Pendulum-v1.
stable-baseline3 supports Pendulum-v1, but not Pendulum-v0.

Traceback (most recent call last):
  File "/home/kagawa/anaconda3/envs/exarl/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kagawa/anaconda3/envs/exarl/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "exarl/driver/__main__.py", line 29, in <module>
    exa_learner = exarl.ExaLearner()
  File "/home/kagawa/Projects/EXARL/exarl/base/learner_base.py", line 46, in __init__
    self.agent, self.env, self.workflow = self.make(agent_id, env_id, workflow_id)
  File "/home/kagawa/Projects/EXARL/exarl/base/learner_base.py", line 89, in make
    env = gym.make(env_id).unwrapped
  File "/home/kagawa/anaconda3/envs/exarl/lib/python3.7/site-packages/gym/envs/registration.py", line 156, in make
    return registry.make(id, **kwargs)
  File "/home/kagawa/anaconda3/envs/exarl/lib/python3.7/site-packages/gym/envs/registration.py", line 100, in make
    spec = self.spec(path)
  File "/home/kagawa/anaconda3/envs/exarl/lib/python3.7/site-packages/gym/envs/registration.py", line 140, in spec
    raise error.DeprecatedEnv('Env {} not found (valid versions include {})'.format(id, matching_envs))
gym.error.DeprecatedEnv: Env Pendulum-v1 not found (valid versions include ['Pendulum-v0'])
@aik7 aik7 assigned aik7 and unassigned aik7 Jan 26, 2023
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

1 participant