Skip to content

Commit e92ab55

Browse files
committed
Downgrade numpy for pybullet and add a notice
1 parent de1daa7 commit e92ab55

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/trained_agents.yml

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ jobs:
4949
# Use headless version
5050
uv pip install --system opencv-python-headless
5151
uv pip install --system -e .[plots,tests]
52+
# Downgrade numpy to run pybullet agents
53+
# See https://github.com/bulletphysics/bullet3/issues/4649
54+
uv pip install --system "numpy<2"
5255
5356
- name: Install specific version of gym
5457
run: |

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Goals of this repository:
2727

2828
This is the SB3 version of the original SB2 [rl-zoo](https://github.com/araffin/rl-baselines-zoo).
2929

30+
Note: although SB3 and the RL Zoo are compatible with Numpy>=2.0, you will need Numpy<2 to run agents on pybullet envs (see [issue](https://github.com/bulletphysics/bullet3/issues/4649)).
31+
3032
## Documentation
3133

3234
Documentation is available online: [https://rl-baselines3-zoo.readthedocs.io/](https://rl-baselines3-zoo.readthedocs.io)

0 commit comments

Comments
 (0)