Skip to main content

MuJoCo Python Bindings

PyPI Python Version PyPI version

This package is the canonical Python bindings for the MuJoCo physics engine. These bindings are developed and maintained by Google DeepMind, and is kept up-to-date with the latest developments in MuJoCo itself.

The mujoco package provides direct access to raw MuJoCo C API functions, structs, constants, and enumerations. Structs are provided as Python classes, with Pythonic initialization and deletion semantics.

It is not the aim of this package to provide fully fledged scene/environment/game authoring API, as there are already a number of existing packages that do this well. However, this package does provide a number of lower-level components outside of MuJoCo itself that are likely to be useful to most users who access MuJoCo through Python. For example, the egl, glfw, and osmesa subpackages contain utilities for setting up OpenGL rendering contexts.

Installation

The recommended way to install this package is via PyPI:

pip install mujoco

A copy of the MuJoCo library is provided as part of the package and does not need to be downloaded or installed separately.

Source

IMPORTANT: Building from source is only necessary if you are modifying the Python bindings (or are trying to run on exceptionally old Linux systems). If that's not the case, then we recommend installing the prebuilt binaries from PyPI.

If you need to build the Python bindings from source, please consult the documentation.

Usage

Once installed, the package can be imported via import mujoco. Please consult our documentation for further detail on the package's API.

We recommend going through the tutorial notebook which covers the basics of MuJoCo using Python: Open In Colab

Versioning

The major.minor.micro portion of the version number matches the version of MuJoCo that the bindings provide. Optionally, if we release updates to the Python bindings themselves that target the same version of MuJoCo, a .postN suffix is added, for example 2.1.2.post2 represents the second update to the bindings for MuJoCo 2.1.2.

License and Disclaimer

Copyright 2022 DeepMind Technologies Limited

MuJoCo and its Python bindings are licensed under the Apache License, Version 2.0. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.

This is not an officially supported Google product.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mujoco_uni-3.8.0.post1-cp313-cp313-manylinux_2_27_aarch64.whl (9.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ARM64

mujoco_uni-3.8.0.post1-cp312-cp312-manylinux_2_27_aarch64.whl (9.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ARM64

mujoco_uni-3.8.0.post1-cp311-cp311-manylinux_2_27_aarch64.whl (9.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ARM64

mujoco_uni-3.8.0.post1-cp310-cp310-manylinux_2_27_aarch64.whl (9.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ ARM64

File details

Details for the file mujoco_uni-3.8.0.post1-cp313-cp313-manylinux_2_27_aarch64.whl.

File metadata

File hashes

Hashes for mujoco_uni-3.8.0.post1-cp313-cp313-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 c9ce5ca48759197c0872152c32e489cc4ecb11f2766a0517d8758f826000f142
MD5 6c679f04eb3d7b3dddd1eb04b5f72775
BLAKE2b-256 5274c09ee77638f9c882c1ccdcafed93f5e0cbf93c808d81a408b79d69892a7c

See more details on using hashes here.

File details

Details for the file mujoco_uni-3.8.0.post1-cp312-cp312-manylinux_2_27_aarch64.whl.

File metadata

File hashes

Hashes for mujoco_uni-3.8.0.post1-cp312-cp312-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 9350a81fc4e15d8d66ac6ab19c0fe7345311d671148e4077317708916e56ef44
MD5 12a4c0e220caeab34c0706a00b6ef67c
BLAKE2b-256 101b1666463abf58adef76c2012cc6e633bd12b176881a7aece5300de0826f52

See more details on using hashes here.

File details

Details for the file mujoco_uni-3.8.0.post1-cp311-cp311-manylinux_2_27_aarch64.whl.

File metadata

File hashes

Hashes for mujoco_uni-3.8.0.post1-cp311-cp311-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 2d5039c163a4405c396734290538fa1bc1161eed1af00c4eb2bfc5bfa3b358d9
MD5 df067fb181435227c8f828db485b50f2
BLAKE2b-256 6c2cb75423a3d6b71be8b4f90275be54c8e5ec7d0d71b18c86545189f1bd4708

See more details on using hashes here.

File details

Details for the file mujoco_uni-3.8.0.post1-cp310-cp310-manylinux_2_27_aarch64.whl.

File metadata

File hashes

Hashes for mujoco_uni-3.8.0.post1-cp310-cp310-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 33c88b97a46aee571c35ef919b5bd803ce064df9592f43fbbe34082d42472e29
MD5 c187f763eba0f2d85be2a168b7c66bd9
BLAKE2b-256 15a6a7596fb808c56e54ca2885037b0fcaabb76103a06136d123014887aaaf3b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.8.0.post1 This release

4 files

3.8.0

17 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page