deep-rl-class icon indicating copy to clipboard operation
deep-rl-class copied to clipboard

[HANDS-ON BUG]

Open Ajinkya2023-github opened this issue 7 months ago • 0 comments

Describe the bug

A clear and concise description of what the bug is. Please share your notebook link so that we can reproduce the error https://colab.research.google.com/github/huggingface/deep-rl-class/blob/main/notebooks/unit1/unit1.ipynb#scrollTo=OwEcFHe9RRZW

/usr/local/lib/python3.11/dist-packages/gymnasium/envs/registration.py:519: DeprecationWarning: WARN: The environment LunarLander-v2 is out of date. You should consider upgrading to version v3. logger.deprecation(


DeprecatedEnv Traceback (most recent call last)

in <cell line: 0>() 2 3 # First, we create our environment called LunarLander-v2 ----> 4 env = gym.make("LunarLander-v2") 5 6 # Then we reset this environment

2 frames

/usr/local/lib/python3.11/dist-packages/gymnasium/envs/registration.py in _check_version_exists(ns, name, version) 431 432 if latest_spec is not None and version < latest_spec.version: --> 433 raise error.DeprecatedEnv( 434 f"Environment version v{version} for {get_env_id(ns, name, None)} is deprecated. " 435 f"Please use {latest_spec.id} instead."

DeprecatedEnv: Environment version v2 for LunarLander is deprecated. Please use LunarLander-v3 instead.

Material

  • Did you use Google Colab? - yes

If not:

  • Your Operating system (OS)
  • Version of your OS

Ajinkya2023-github avatar Apr 08 '25 05:04 Ajinkya2023-github