Skip to content

[HANDS-ON BUG] LunarLander-v2 is deprecated and needs to be changed to LunarLander-v3 #683

@calebjubal

Description

@calebjubal

🐛 Describe the Bug

The LunarLander-v2 environment is no longer available as expected. The API has been updated and the environment version has been incremented to LunarLander-v3, so calling:

env = gym.make("LunarLander-v2")

results in an error because v2 has been deprecated in favor of v3. This change was made upstream to fix environment determinism and wind generation behavior.([gymnasium.farama.org][1])

# v2 deprecated / fails now
env = gym.make("LunarLander-v3")

📸 Screenshot

(Include a screenshot here of the error you’re seeing — e.g., VersionNotFound or similar.)

Error Image

📌 Material

  • Did you use Google Colab?
    *Yes *

💡 Notes

  • The environment version change was introduced in recent gymnasium and related ecosystem updates — the v2 environments were updated to v3 to address determinism and randomness issues.
    gymnasium.farama.org

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