-
Notifications
You must be signed in to change notification settings - Fork 768
Description
We got an issue by executing this line:
!pip install -r https://raw.githubusercontent.com/huggingface/deep-rl-class/main/notebooks/unit1/requirements-unit1.txt
The required packages in requirements-unit1.txt are :
stable-baselines3==2.0.0a5
swig
gymnasium[box2d]
huggingface_sb3
The error output is:
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
We fixed this issue by using these code lines :
!pip install -U pip setuptools wheel
!pip install "gymnasium==0.28.1" "box2d-py==2.3.5" "pygame>=2.6.0"
!pip install "stable-baselines3==2.0.0a5" "huggingface_sb3==3.0"