Skip to content

Installation fail #123

@MFaisalZaki

Description

@MFaisalZaki

Hi I am trying the basic tutorial for plangym:

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?

List of installed packages:

ale-py==0.9.1
asttokens==2.4.1
cloudpickle==3.0.0
decorator==5.1.1
executing==2.1.0
Farama-Notifications==0.0.4
flogging==0.0.22
fragile-gym==1.21.1
gymnasium==0.29.1
imageio==2.35.1
ipython==8.27.0
jedi==0.19.1
matplotlib-inline==0.1.7
numpy==2.1.1
opencv-python==4.10.0.84
parso==0.8.4
pexpect==4.9.0
pillow==10.4.0
plangym @ git+https://github.com/FragileTech/plangym.git@7a772387bfcb40109d580c5b980a793168d1de63
prompt_toolkit==3.0.47
ptyprocess==0.7.0
pure_eval==0.2.3
pyglet==1.5.11
Pygments==2.18.0
PyVirtualDisplay==3.0
six==1.16.0
stack-data==0.6.3
traitlets==5.14.3
typing_extensions==4.12.2
wcwidth==0.2.13
xxhash==3.5.0

Python version py3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions