From f2dbcd647307f2844fa0b755f6104d0c43b0fe53 Mon Sep 17 00:00:00 2001 From: Abbas Raza Date: Mon, 10 Nov 2025 20:03:44 +0530 Subject: [PATCH] Fix gymnasium[box2d] install failure on Colab by pinning compatible versions - Pinned gymnasium[box2d] to 0.29.1 to avoid pulling pygame==2.1.3 (which fails to build on Colab) - Added explicit pygame==2.5.2 as a known working version - No functional changes to other dependencies --- notebooks/unit1/requirements-unit1.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notebooks/unit1/requirements-unit1.txt b/notebooks/unit1/requirements-unit1.txt index fd27dfc1..4f2d92ab 100644 --- a/notebooks/unit1/requirements-unit1.txt +++ b/notebooks/unit1/requirements-unit1.txt @@ -1,4 +1,5 @@ stable-baselines3==2.0.0a5 swig -gymnasium[box2d] +gymnasium[box2d]==0.29.1 +pygame==2.5.2 huggingface_sb3