Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't find lunar Lander v3 #3306

Open
tahirbb opened this issue Dec 24, 2024 · 4 comments
Open

Couldn't find lunar Lander v3 #3306

tahirbb opened this issue Dec 24, 2024 · 4 comments

Comments

@tahirbb
Copy link

tahirbb commented Dec 24, 2024

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

~/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` ].
@pseudo-rnd-thoughts
Copy link
Contributor

What version of Gymnasium are you using? gymnasium.__version__

@tahirbb
Copy link
Author

tahirbb commented Dec 24, 2024

Hi,

Python 3.10.16 (main, Dec 11 2024, 16:24:50) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gymnasium
>>> print (gymnasium.__version__)
0.29.1
>>> 

@pseudo-rnd-thoughts
Copy link
Contributor

Lunar lander is only on v1.0.0, otherwise use Lunar lander v2

@tahirbb
Copy link
Author

tahirbb commented Dec 24, 2024

Thanks for your time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants