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

getting error when Importing the environment #1

Open
Tareq-Diab opened this issue Sep 13, 2022 · 0 comments
Open

getting error when Importing the environment #1

Tareq-Diab opened this issue Sep 13, 2022 · 0 comments

Comments

@Tareq-Diab
Copy link

after installing i get an error when trying to import AirHockey-v0

import gym
env = gym.make('AirHockey-v0')

the Output :

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/tareq/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 569, in make
    _check_version_exists(ns, name, version)
  File "/home/tareq/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 219, in _check_version_exists
    _check_name_exists(ns, name)
  File "/home/tareq/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 198, in _check_name_exists
    f"Environment {name} doesn't exist{namespace_msg}. {suggestion_msg}"
gym.error.NameNotFound: Environment AirHockey doesn't exist.
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