huggingface / huggingface/deep-rl-class

[HANDS-ON BUG]

Open
#615 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
5k
Forks
811
PR merge metrics
No merged PRs in 30d

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](https://localhost:8080/#) 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](https://localhost:8080/#) 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.