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
import plangym
env = plangym.make(name="ALE/RoadRunner-ram-v5")
state, obs, info = env.reset()
state = state.copy()
action = env.action_space.sample()
data = env.step(state=state, action=action)
new_state, observ, reward, end, truncated, info = data
And I am getting this error:
File "temp-venv/venv/lib/python3.12/site-packages/gymnasium/envs/registration.py", line 350, in _check_namespace_exists
raise error.NamespaceNotFound(f"Namespace {ns} not found. {suggestion_msg}")
gymnasium.error.NamespaceNotFound: Namespace ALE not found. Have you installed the proper package for ALE?
This is probably due to not having the Atari roms available in your environment.
Can you try installing all the extra dependencies with pip install -r requirements.lock? This file contains a list of all the dependencies needed to run all the environments.
If you are only interested in running Atari games, you could also take a look at the extra dependencies and run pip install plangym[nes]
I will try to improve the intallation tutorials over the weekend.
Hi I am trying the basic tutorial for
plangym
:And I am getting this error:
List of installed packages:
Python version py3.12
The text was updated successfully, but these errors were encountered: