@@ -57,29 +57,35 @@ versions:
5757* 3.9
5858
5959Various people have been successful in getting ` dm_control ` to work on other
60- Linux distros, OS X , and Windows. We do not provide active support for these,
60+ Linux distros, macOS , and Windows. We do not provide active support for these,
6161but will endeavour to answer questions on a best-effort basis.
6262
6363Follow these steps to install ` dm_control ` :
6464
65- 1 . Download MuJoCo 2.1.0 from the Download page on the [ MuJoCo website] . MuJoCo
66- must be installed before ` dm_control ` , since ` dm_control ` 's install script
67- generates Python [ ` ctypes ` ] bindings based on MuJoCo's header files. By
68- default, ` dm_control ` assumes that the MuJoCo archive is extracted into
69- ` ~/.mujoco ` .
65+ 1 . Download MuJoCo 2.1.1 from the
66+ [ Releases page on the MuJoCo GitHub repository] . MuJoCo must be installed
67+ before ` dm_control ` , since ` dm_control ` 's install script generates Python
68+ [ ` ctypes ` ] bindings based on MuJoCo's header files. By default, ` dm_control `
69+ assumes that MuJoCo is installed via the following instructions:
70+
71+ - On Linux, extract the tarball into ` ~/.mujoco ` .
72+ - On Windows, extract the zip archive into either ` %HOMEPATH%\MuJoCo ` or
73+ ` %PUBLIC%\MuJoCo ` .
74+ - On macOS, either place ` MuJoCo.app ` into ` /Applications ` , or place
75+ ` MuJoCo.Framework ` into ` ~/.mujoco ` .
7076
71772 . Install the ` dm_control ` Python package by running ` pip install dm_control ` .
7278 We recommend ` pip install ` ing into a ` virtualenv ` , or with the ` --user ` flag
7379 to avoid interfering with system packages. At installation time,
74- ` dm_control ` looks for the MuJoCo headers from Step 1 in
75- ` ~/.mujoco/mujoco210/include ` , however this path can be configured with the
76- ` headers-dir ` command line argument.
80+ ` dm_control ` looks for the MuJoCo headers at the paths described in Step 1
81+ by default , however this path can be configured with the ` headers-dir `
82+ command line argument.
7783
78- 3 . If the shared library provided by MuJoCo (e.g. ` libmujoco210 .so` or
79- ` libmujoco210. dylib` ) is installed at a non-default path, specify its
80- location using the ` MJLIB_PATH ` environment variable. This environment
81- variable should be set to the full path to the library file itself, e.g.
82- ` export MJLIB_PATH=/path/to/libmujoco210 .so ` .
84+ 3 . If the shared library provided by MuJoCo (i.e. ` libmujoco .so.2.1.1 ` or
85+ ` libmujoco.2.1.1. dylib` or ` mujoco.dll ` ) is installed at a non-default path,
86+ specify its location using the ` MJLIB_PATH ` environment variable. This
87+ environment variable should be set to the full path to the library file
88+ itself, e.g. ` export MJLIB_PATH=/path/to/libmujoco .so.2.1.1 ` .
8389
8490## Versioning
8591
@@ -133,6 +139,7 @@ setting the environment variable `EGL_DEVICE_ID=` to the target GPU ID.
133139 ` export DYLD_LIBRARY_PATH=$(brew --prefix)/lib:$DYLD_LIBRARY_PATH ` .
134140
135141[ EXT_platform_device ] : https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_platform_device.txt
142+ [ Releases page on the MuJoCo GitHub repository ] : https://github.com/deepmind/mujoco/releases
136143[ MuJoCo website ] : https://mujoco.org/
137144[ tech report ] : https://arxiv.org/abs/2006.12983
138145[ `ctypes` ] : https://docs.python.org/3/library/ctypes.html
0 commit comments