-
Notifications
You must be signed in to change notification settings - Fork 110
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
Environment Id does not exist #4
Comments
I got some issue, anyone know how to fix this? |
Clone the repo onto your machine Use envs REGISTERED in gym_maze/init.py |
Hi @ralphBerd Did you fix this issue? |
Hi I am using python 3.6 , when write the following
import gym
import gym_maze
env = gym.make("maze-random-10x10-plus-v0")
I get the following errors. The id of the environment doesn't seem to recognized. Thanks for your help
Traceback (most recent call last):
File "/home/ralph/anaconda3/lib/python3.6/site-packages/gym/envs/registration.py", line 140, in spec
return self.env_specs[id]
KeyError: 'maze-random-10x10-plus-v0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ralph/PycharmProjects/Maze/Maze.py", line 6, in
env = gym.make("maze-random-10x10-plus-v0")
File "/home/ralph/anaconda3/lib/python3.6/site-packages/gym/envs/registration.py", line 164, in make
return registry.make(id)
File "/home/ralph/anaconda3/lib/python3.6/site-packages/gym/envs/registration.py", line 121, in make
spec = self.spec(id)
File "/home/ralph/anaconda3/lib/python3.6/site-packages/gym/envs/registration.py", line 150, in spec
raise error.UnregisteredEnv('No registered env with id: {}'.format(id))
gym.error.UnregisteredEnv: No registered env with id: maze-random-10x10-plus-v0
The text was updated successfully, but these errors were encountered: