deep-rl-class
deep-rl-class copied to clipboard
[HANDS-ON BUG]
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
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 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