Description
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