#3306·gym

Couldn't find lunar Lander v3

Author: tahirbbCreated Dec 24, 2024Updated Dec 24, 2024

Hi, I installed gymnasium ( pip install "gymnasium[all]" ) and tried to run lunar lander getting this error. What I missed here?

bash

~/anaconda3/envs/marlbase/lib/python3.10/site-packages/gymnasium/envs/box2d$ python lunar_lander.py 
Traceback (most recent call last):
  File "/home/thr/anaconda3/envs/marlbase/lib/python3.10/site-packages/gymnasium/envs/box2d/lunar_lander.py", line 884, in <module>
    env = gym.make("LunarLander-v3", render_mode="rgb_array")
  File "/home/thr/.local/lib/python3.10/site-packages/gymnasium/envs/registration.py", line 741, in make
    env_spec = _find_spec(id)
  File "/home/thr/.local/lib/python3.10/site-packages/gymnasium/envs/registration.py", line 527, in _find_spec
    _check_version_exists(ns, name, version)
  File "/home/thr/.local/lib/python3.10/site-packages/gymnasium/envs/registration.py", line 424, in _check_version_exists
    raise error.VersionNotFound(message)
gymnasium.error.VersionNotFound: Environment version `v3` for environment `LunarLander` doesn't exist. It provides versioned environments: [ `v2` ].