File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
.github/unittest/linux_libs Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,10 @@ wget https://pytorch.s3.amazonaws.com/torchrl/github-artifacts/mujoco200_linux.z
7878unzip mujoco200_linux.zip
7979wget https://pytorch.s3.amazonaws.com/torchrl/github-artifacts/mjkey.txt
8080cp mjkey.txt ./mujoco200_linux/bin/
81+ # 4. Install build dependencies FIRST (required for C++ extensions AND mujoco-py)
82+ printf " * Installing build dependencies\n"
83+ uv pip install setuptools wheel ninja " pybind11[global]"
84+
8185# install mujoco-py locally
8286git clone https://github.com/vmoens/mujoco-py.git
8387cd mujoco-py
@@ -87,10 +91,6 @@ uv pip install poetry
8791uv pip install -e . --no-build-isolation
8892cd $this_dir
8993
90- # 4. Install build dependencies FIRST (required for C++ extensions)
91- printf " * Installing build dependencies\n"
92- uv pip install setuptools wheel ninja " pybind11[global]"
93-
9494# 5. Install test dependencies and libraries (except PyTorch)
9595printf " * Installing dependencies from requirements.txt\n"
9696uv pip install -r " ${this_dir} /requirements.txt" setuptools
Original file line number Diff line number Diff line change @@ -35,8 +35,11 @@ printf "* Creating a test environment with uv
3535uv venv " ${env_dir} " --python=" ${PYTHON_VERSION} "
3636source " ${env_dir} /bin/activate"
3737
38+ # 3. Install build dependencies FIRST (required for C++ extensions AND mujoco-py)
39+ printf " * Installing build dependencies\n"
40+ uv pip install setuptools wheel ninja " pybind11[global]"
3841
39- # # 3 . Install mujoco
42+ # # 4 . Install mujoco
4043# printf "* Installing mujoco and related\n"
4144# mkdir -p $root_dir/.mujoco
4245# cd $root_dir/.mujoco/
You can’t perform that action at this time.
0 commit comments