MuJoCo Warp documentation: Update installation instructions
PiperOrigin-RevId: 873032865 Change-Id: I7f75de9ed0d9239b47bc80b321f213aa4014fda6
This commit is contained in:
committed by
Copybara-Service
parent
0f36b0fc2e
commit
c428f675e7
+10
-9
@@ -87,24 +87,25 @@ via Warp - if this feature is important to you, please chime in on this issue
|
|||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
The beta version of MuJoCo Warp is installed from GitHub. Please note that the beta version of MuJoCo Warp does not
|
**From PyPI:**
|
||||||
support all versions of MuJoCo, Warp, CUDA, NVIDIA drivers, etc.
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
pip install mujoco-warp
|
||||||
|
|
||||||
|
**From source:**
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
git clone https://github.com/google-deepmind/mujoco_warp.git
|
git clone https://github.com/google-deepmind/mujoco_warp.git
|
||||||
cd mujoco_warp
|
cd mujoco_warp
|
||||||
python3 -m venv env
|
uv sync --all-extras
|
||||||
source env/bin/activate
|
|
||||||
pip install --upgrade pip
|
|
||||||
pip install uv
|
|
||||||
uv pip install -e .[dev,cuda]
|
|
||||||
|
|
||||||
Test the Installation
|
To make sure everything is working:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
pytest
|
uv run pytest -n 8
|
||||||
|
|
||||||
.. _MJW_Usage:
|
.. _MJW_Usage:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user