Skip to content
Dominik Jain edited this page Dec 13, 2023 · 2 revisions

Installing MuJoCo in a Python environment can be extremely painful.

Installing it (with gymnasium) within a conda environment appears to work as follows

conda install -c conda-forge mujoco-python
pip install "mujoco-python" "Cython<3"

Poetry:

[tool.poetry.group.mujoco.dependencies]
mujoco_py = { version = "*"}
Cython = { version = "<3"}
Clone this wiki locally