You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug installing stable_baselines3-1.8.0-py3-none-any.whl (174 kB) resulted in installing gym==0.21 instead of gymnasium==0.28.1 or latest gym==0.26.2.
pip install stable-baselines3 --upgrade
Collecting stable-baselines3
Using cached stable_baselines3-1.8.0-py3-none-any.whl (174 kB)
Collecting gym==0.21 (from stable-baselines3)
Using cached gym-0.21.0.tar.gz (1.5 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
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.
To Reproduce
pip install stable-baselines3 --upgrade
Relevant log output / Error message
No response
System Info
No response
Checklist
I have checked that there is no similar issue in the repo
yasirroni
changed the title
[Bug]: bug titlepip install stable-baselines3 cause installing gym==0.21 and throw error in gym setup command: 'extras_require'
Jun 12, 2023
"Only Stable-Baselines3 2.x supports Gymnasium. As SB3 2.x is currently in beta, you will need to specify pip install "stable_baselines3[extra]>=2.0.0a9" explicitly, or install the master version (see below)."
🐛 Bug
Bug installing
stable_baselines3-1.8.0-py3-none-any.whl (174 kB)
resulted in installinggym==0.21
instead ofgymnasium==0.28.1
or latestgym==0.26.2
.To Reproduce
Relevant log output / Error message
No response
System Info
No response
Checklist
The text was updated successfully, but these errors were encountered: