You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug that only I seem to have, but despite reinstalling fancy_gym numerous times, I never got past it. Whenever I try to use an Airhockey enviroment (despite installing fancy_gym[all] and other needed dependencies) it tells me "gymnasium.error.NameNotFound: Environment AirHockey-{name depends on which Airhockey I tried} doesn't exist in namespace fancy." This only happens for the AirHockey enviroment, all other enviroments work just fine.
To Reproduce
Example test.py:
import fancy_gym
import gymnasium as gym
env = gym.make('fancy/AirHockey-3dof-hit-v0', render_mode="rgb_array", width=600, height=400)
Will throw the Error: gymnasium.error.NameNotFound: Environment AirHockey-3dof-hit doesn't exist in namespace fancy.
Additionally, I have used the print(gym.envs.registry.keys()) method to display all the envs in the name space, which gave me this output: namespace.txt
OS: Arch Linux
Python version: 3.12 (exact same errors for Python 3.8)
Version: Newest
The text was updated successfully, but these errors were encountered:
Hi.
Bugs that only one person seem to have are somewhat problematic to triage...
Are you using any kind of virtual environment? (venv, poetry, conda, etc.)
I heard about weird issues from some of our deep down dependencies on Apple M-Series chips; do you happen to work on one of those?
Can you try Python3.11?
(Python version, where the 'minor version number' are even are stable releases, uneven ones are development releases. So the even numbers should be more stable. But I actually found issues to sometimes disappear when going to an 'development release')
Are there any errors printed during installation of fancy_gym? Or during import? (Except for some DeprecationWarnings, those are to be expected...)
Specifically, is the message '[FANCY GYM] Air Hockey not available (depends on mushroom-rl, dmc, mujoco)' printed?
Did you install from github or PyPI?
It's possible, that the update that brought AirHockey has not yet hit the PyPI repos. (We were restructuring how our deployment pipeline works...)
This is a bug that only I seem to have, but despite reinstalling fancy_gym numerous times, I never got past it. Whenever I try to use an Airhockey enviroment (despite installing fancy_gym[all] and other needed dependencies) it tells me "gymnasium.error.NameNotFound: Environment
AirHockey-{name depends on which Airhockey I tried}
doesn't exist in namespace fancy." This only happens for the AirHockey enviroment, all other enviroments work just fine.To Reproduce
Example test.py:
import fancy_gym
import gymnasium as gym
env = gym.make('fancy/AirHockey-3dof-hit-v0', render_mode="rgb_array", width=600, height=400)
Will throw the Error: gymnasium.error.NameNotFound: Environment
AirHockey-3dof-hit
doesn't exist in namespace fancy.Additionally, I have used the print(gym.envs.registry.keys()) method to display all the envs in the name space, which gave me this output:
namespace.txt
The text was updated successfully, but these errors were encountered: