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

[Bug Report] gymnasium.error.NameNotFound: Environment BabyAI_GoToObjS6 doesn't exist. #452

Open
crimsonstamb opened this issue Oct 22, 2024 · 4 comments · May be fixed by #453
Open

[Bug Report] gymnasium.error.NameNotFound: Environment BabyAI_GoToObjS6 doesn't exist. #452

crimsonstamb opened this issue Oct 22, 2024 · 4 comments · May be fixed by #453

Comments

@crimsonstamb
Copy link

crimsonstamb commented Oct 22, 2024

If you are submitting a bug report, please fill in the following details and use the tag [bug].

I'm trying to run the BabyAI bot and keep getting errors about none of the BabyAI environments existing.
Describe the bug
A clear and concise description of what the bug is.

Code example
from future import annotations

import gymnasium as gym
import minigrid
from minigrid.utils.baby_ai_bot import BabyAIBot

#print(minigrid.version)
#print(gym.version)

env = gym.make("BabyAI_GoToObjS6-v1")

babyai_bot = BabyAIBot(env)

Error:

raise error.NameNotFound(
gymnasium.error.NameNotFound: Environment BabyAI_GoToObjS6 doesn't exist.

System Info
I have minigrid version 2.3.1 and gym 1.0.0. I have Python 3.11.0. I am working on a macOS Ventura version 13.7.

@pseudo-rnd-thoughts
Copy link
Member

I don't think that Minigrid is compatible with gymnasium v1.0.0
@BolunDai0216

@BolunDai0216 BolunDai0216 linked a pull request Oct 22, 2024 that will close this issue
6 tasks
@BolunDai0216
Copy link
Collaborator

BolunDai0216 commented Oct 22, 2024

@pseudo-rnd-thoughts a PR is underway #453.

@Arseni1919
Copy link

Can you please make it compateable with gymnasium v1.0.0? is it a part of a plan at list? 😅
If I want to run minigrid I need an older version of gymnasium, right?

@pseudo-rnd-thoughts
Copy link
Member

@Arseni1919 yes we are working on it, I imagine it will be fixed in a couple of days.
In the meantime, use gymnasium v0.29.1

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

Successfully merging a pull request may close this issue.

4 participants