[Bug Report] Getting error: gym.error.NameNotFound: Environment doesn't exist.
See original GitHub issueHi, I’m not sure if this is a bug or if I’m doing something wrong, but I’m trying to use this project with the gym interface. I’m getting the following error
gym.error.NameNotFound: Environment MiniWorld-CollectHealth doesn't exist.
Code example
import gym
import gym_miniworld
env = gym.make("MiniWorld-CollectHealth-v0")
System Info
- miniworld installed from source
- Running Manjaro (Linux)
- Python v3.10.8
Additional context
I did some logging, the environments get registered and are in the registry immediately afterwards. But then later, when calling gym.make
, they are not in the registry anymore:
I’ve tried the exact same workflow on a similar project, where it does work. So, not sure if this is a bug or what else to do here?
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
gym.error.NameNotFound: Environment ... - GitHub
gym.error.NameNotFound: Environment environments:RandomWalkEnv doesn't exist.[Bug Report] Bug title #2824.
Read more >Error in importing environment OpenAI Gym - Stack Overflow
AutoRom runs program which asks if you have license for ROMs and install ROMs in AutoROM/roms but I didn't have to move ROMs...
Read more >gym-super-mario-bros - PyPI
An OpenAI Gym environment for Super Mario Bros. & Super Mario Bros. 2 (Lost Levels) on The Nintendo Entertainment System (NES) using the...
Read more >Capture and read bug reports - Android Developers
A bug report contains device logs, stack traces, and other diagnostic information to help you find and fix bugs in your app.
Read more >Need help with this error when trying to use openai gym for ...
The source code for openai gym including the environments is available at github. After clicking on the fork button, the repository is cloned ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That solved most of the problems, thank you! I’m still seeing the
ValueError: Unknown OpenGL API: None
on my cluster, but I assume for pyglet to work the underlying OpenGL drivers etc. should be set up?Yes, I think OpenGL should be set up.