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

Environment Id does not exist #4

Open
rebootStable opened this issue Feb 4, 2018 · 3 comments
Open

Environment Id does not exist #4

rebootStable opened this issue Feb 4, 2018 · 3 comments

Comments

@rebootStable
Copy link

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

@KokoroLelah
Copy link

I got some issue, anyone know how to fix this?

@kirilllzaitsev
Copy link

kirilllzaitsev commented Dec 26, 2019

Clone the repo onto your machine
Follow installation instuctions

Use envs REGISTERED in gym_maze/init.py
Worked for me.

@tsorewilly
Copy link

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

Hi @ralphBerd Did you fix this issue?
I have similar challenge using Chan's maze env. Please can anyone guide me on how to fix this?

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

4 participants