Skip to content

Commit

Permalink
[CI] Fix 3.12 gymnasium installation
Browse files Browse the repository at this point in the history
ghstack-source-id: 35fb3ca1819bcd0d3526a1537053df412a06fe86
Pull Request resolved: #2474
  • Loading branch information
vmoens committed Oct 9, 2024
1 parent c8b508e commit d5c93fb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/unittest/linux/scripts/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,13 @@ conda deactivate
conda activate "${env_dir}"

echo "installing gymnasium"
pip3 install "gymnasium[atari,accept-rom-license,mujoco]<1.0" mo-gymnasium[mujoco]
if [[ "$PYTHON_VERSION" == "3.12" ]]; then
pip3 install ale-py
pip3 install sympy
pip3 install "gymnasium[accept-rom-license,mujoco]<1.0" mo-gymnasium[mujoco]
else
pip3 install "gymnasium[atari,accept-rom-license,mujoco]<1.0" mo-gymnasium[mujoco]
fi
pip3 install "mujoco" -U

# sanity check: remove?
Expand Down

0 comments on commit d5c93fb

Please sign in to comment.