Software
dm_control
By Google DeepMind, from github.com/google-deepmind/dm_control (opens in a new tab)
- Simulators
- Library
- Apache-2.0
A set of Python libraries from Google DeepMind for physics-based simulation and reinforcement learning environments, built on the MuJoCo physics engine.
Facts
- GitHub stars
- 4,733read on 28 Nov 2026
- Last update
- 27 Nov 2026Newest commit on main
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Intermediate
- Hardware it needs, as the project states it
- Rendering needs at least one OpenGL backend: GLFW with a windowing system, EGL for headless hardware rendering (EGL driver with EXT_platform_device support, such as recent Nvidia drivers), or OSMesa for software rendering. The viewer works only with GLFW, which does not run on headless machines.
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit e29c6a4 (opens in a new tab), on 28 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Provides Python bindings to the MuJoCo physics engine.
- Offers a suite of reinforcement learning environments powered by MuJoCo.
- Includes an interactive environment viewer.
- Lets users compose and modify MuJoCo MJCF models in Python.
- Includes a composer library for building RL environments from reusable components.
- Adds locomotion and multi-agent soccer tasks for more complex control problems.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- Used by AlohaScorpion and Dual Scorpion.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
pip install dm_controlWhere it comes from- Maintenance
- Active, last commit on 27 Nov 2026.
Works with
The robots on Robotheca that use it or can run it, each with how the link was found.
- No photo yet
Found by Robotheca in requirements-macos.txt (opens in a new tab)
- Ready to build

Open source · free files
Dual Scorpion
Robot arm · Advanced
- Score
- Buildability 100 out of 100
- Cost
- $486.88≈ €446
Found by Robotheca in requirements-macos.txt (opens in a new tab)
Use it
Copied word for word from the creator's own documentation; each block links to the lines it comes from.
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/google-deepmind/dm_control (opens in a new tab)
- The version Robotheca reade29c6a4 (opens in a new tab)
- Latest release1.0.52: Upgrade to MuJoCo 4.0.1 (11 Nov 2026)
Robotheca read the repository at three versions: the summary at 773d5b5, the facts and the README at e29c6a4 (read on 28 Nov 2026) and the install commands at e94f1e9 (read on 6 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by Google DeepMind, at commit e29c6a4, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
dm_control: Google DeepMind Infrastructure for Physics-Based Simulation.
Google DeepMind's software stack for physics-based simulation and Reinforcement Learning environments, using MuJoCo physics.
An introductory tutorial for this package is available as a Colaboratory notebook: Image: Open In Colab (opens in a new tab) (opens in a new tab)
Overview
This package consists of the following "core" components:
-
dm_control.mujoco(opens in a new tab): Libraries that provide Python bindings to the MuJoCo physics engine. -
dm_control.suite(opens in a new tab): A set of Python Reinforcement Learning environments powered by the MuJoCo physics engine. -
dm_control.viewer(opens in a new tab): An interactive environment viewer.
Additionally, the following components are available for the creation of more complex control tasks:
-
dm_control.mjcf(opens in a new tab): A library for composing and modifying MuJoCo MJCF models in Python. -
dm_control.composer: A library for defining rich RL environments from reusable, self-contained components. -
dm_control.locomotion(opens in a new tab): Additional libraries for custom tasks. -
dm_control.locomotion.soccer(opens in a new tab): Multi-agent soccer tasks.
If you use this package, please cite our accompanying publication (opens in a new tab):
@article{tunyasuvunakool2020,
title = {dm_control: Software and tasks for continuous control},
journal = {Software Impacts},
volume = {6},
pages = {100022},
year = {2020},
issn = {2665-9638},
doi = {https://doi.org/10.1016/j.simpa.2020.100022},
url = {https://www.sciencedirect.com/science/article/pii/S2665963820300099},
author = {Saran Tunyasuvunakool and Alistair Muldal and Yotam Doron and
Siqi Liu and Steven Bohez and Josh Merel and Tom Erez and
Timothy Lillicrap and Nicolas Heess and Yuval Tassa},
}
Installation
Install dm_control from PyPI by running
pip install dm_control
Note:
dm_controlcannot be installed in "editable" mode (i.e.pip install -e).While
dm_controlhas been largely updated to use the pybind11-based bindings provided via themujocopackage, at this time it still relies on some legacy components that are automatically generated from MuJoCo header files in a way that is incompatible with editable mode. Attempting to installdm_controlin editable mode will result in import errors like:ImportError: cannot import name 'constants' from partially initialized module 'dm_control.mujoco.wrapper.mjbindings' ...The solution is to
pip uninstall dm_controland then reinstall it without the-eflag.
Versioning
Starting from version 1.0.0, we adopt semantic versioning.
Prior to version 1.0.0, the dm_control Python package was versioned 0.0.N,
where N was an internal revision number that increased by an arbitrary amount
at every single Git commit.
If you want to install an unreleased version of dm_control directly from our
repository, you can do so by running pip install git+https://github.com/google-deepmind/dm_control.git.
Rendering
The MuJoCo Python bindings support three different OpenGL rendering backends:
EGL (headless, hardware-accelerated), GLFW (windowed, hardware-accelerated), and
OSMesa (purely software-based). At least one of these three backends must be
available in order render through dm_control.
-
Hardware rendering with a windowing system is supported via GLFW and GLEW. On Linux these can be installed using your distribution's package manager. For example, on Debian and Ubuntu, this can be done by running
sudo apt-get install libglfw3 libglew2.0. Please note that:dm_control.viewer(opens in a new tab) can only be used with GLFW.- GLFW will not work on headless machines.
-
"Headless" hardware rendering (i.e. without a windowing system such as X11) requires EXT_platform_device (opens in a new tab) support in the EGL driver. Recent Nvidia drivers support this. You will also need GLEW. On Debian and Ubuntu, this can be installed via
sudo apt-get install libglew2.0. -
Software rendering requires GLX and OSMesa. On Debian and Ubuntu these can be installed using
sudo apt-get install libgl1-mesa-glx libosmesa6.
By default, dm_control will attempt to use GLFW first, then EGL, then OSMesa.
You can also specify a particular backend to use by setting the MUJOCO_GL=
environment variable to "glfw", "egl", or "osmesa", respectively. When
rendering with EGL, you can also specify which GPU to use for rendering by
setting the environment variable MUJOCO_EGL_DEVICE_ID= to the target GPU ID.
Additional instructions for Homebrew users on macOS
-
The above instructions using
pipshould work, provided that you use a Python interpreter that is installed by Homebrew (rather than the system-default one). -
Before running, the
DYLD_LIBRARY_PATHenvironment variable needs to be updated with the path to the GLFW library. This can be done by runningexport DYLD_LIBRARY_PATH=$(brew --prefix)/lib:$DYLD_LIBRARY_PATH.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.