Farama-Foundation / Minigrid

Simple and easily configurable grid world environments for reinforcement learning
https://minigrid.farama.org/
Other
2.13k stars 611 forks source link

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

Closed crimsonstamb closed 1 week ago

crimsonstamb commented 1 month ago

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 commented 1 month ago

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

BolunDai0216 commented 1 month ago

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

Arseni1919 commented 1 month ago

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 commented 1 month ago

@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