From 95e6a92c253fe33a4e6fd03a75e2970de8217087 Mon Sep 17 00:00:00 2001 From: zjowowen <93968541+zjowowen@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:40:53 +0800 Subject: [PATCH] fix(zjow): fix mujoco-py compatibility issue for cython<3 https://github.com/openai/mujoco-py/issues/773 --- docker/Dockerfile.env | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/Dockerfile.env b/docker/Dockerfile.env index de4f324f1b..1564cbc472 100644 --- a/docker/Dockerfile.env +++ b/docker/Dockerfile.env @@ -35,6 +35,7 @@ RUN mkdir -p /root/.mujoco \ ENV LD_LIBRARY_PATH /root/.mujoco/mjpro210/bin:/root/.mujoco/mujoco210/bin:${LD_LIBRARY_PATH} Run python3 -m pip install --upgrade pip \ + && pip3 install "cython<3" \ && pip3 install --no-cache-dir numpy \ && pip3 install --no-cache-dir -U "gym[mujoco,mujoco_py]==0.25.1" --user \ && pip install gymnasium[mujoco] \