Skip to content

Commit b094f5e

Browse files
authored
fix(zjow): fix incompatible gym version bug in Dockerfile.env (#653)
This dockerfile will make mujoco image would having gym version 0.26.2, which is not supported by DI-engine.
1 parent a82caab commit b094f5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/Dockerfile.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ ENV LD_LIBRARY_PATH /root/.mujoco/mjpro210/bin:/root/.mujoco/mujoco210/bin:${LD_
3636

3737
Run python3 -m pip install --upgrade pip \
3838
&& pip3 install --no-cache-dir numpy \
39-
&& pip3 install --no-cache-dir -U "gym[mujoco,mujoco_py]>=0.25.2" --user \
39+
&& pip3 install --no-cache-dir -U "gym[mujoco,mujoco_py]==0.25.1" --user \
40+
&& pip install gymnasium[mujoco] \
4041
&& python -c "import mujoco_py"
4142

4243
FROM opendilab/di-star:latest as smac

0 commit comments

Comments
 (0)