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=w7vOFlpA_ONz


ModuleNotFoundError Traceback (most recent call last)

/usr/local/lib/python3.11/dist-packages/gymnasium/envs/box2d/bipedal_walker.py in 14 try: ---> 15 import Box2D 16 from Box2D.b2 import (

ModuleNotFoundError: No module named 'Box2D'

The above exception was the direct cause of the following exception:

DependencyNotInstalled Traceback (most recent call last)

15 frames

/usr/local/lib/python3.11/dist-packages/gymnasium/envs/box2d/bipedal_walker.py in 23 ) 24 except ImportError as e: ---> 25 raise DependencyNotInstalled( 26 'Box2D is not installed, you can install it by run pip install swig followed by pip install "gymnasium[box2d]"' 27 ) from e

DependencyNotInstalled: Box2D is not installed, you can install it by run pip install swig followed by pip install "gymnasium[box2d]"

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