-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Incompatibility with numpy 2.0 on windows #1960
Comments
24ebf1a#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 for short: sb3 is not compatible with numpy 2 because of pytorch. |
Thank your for the swift answer |
Hi, do you have still issues with numpy 2 ? Pytorch claims to be be compatible with it since torch 2.3 (see pytorch/pytorch#107302) |
nice! thks |
@araffin any chance to get a release cut that includes this? |
there is already a pre-release on pypi normally: https://pypi.org/project/stable-baselines3/2.5.0a0/ Otherwise, you can always install from the master branch (see doc). |
@araffin When will 2.5.0 be released? |
🐛 Bug
When trying to run the first example of the doc in an environment with numpy 2.0 on windows, an error occurs.
To Reproduce
On a github runner
windows-latest
python -m pip install gymnasium stable-baselines3 "numpy>=2.0"
Relevant log output / Error message
System Info
No response
Checklist
The text was updated successfully, but these errors were encountered: