From d694ea1d38e53aad20ce36bc014a16e3da185f5c Mon Sep 17 00:00:00 2001 From: eDeveloperOZ Date: Wed, 5 Mar 2025 11:07:35 +0200 Subject: [PATCH] docs: update installation instructions to use uv instead of conda (#731) Co-authored-by: Steven Palma --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9debf9d1..454c7e5d 100644 --- a/README.md +++ b/README.md @@ -92,15 +92,20 @@ git clone https://github.com/huggingface/lerobot.git cd lerobot ``` -Create a virtual environment with Python 3.10 and activate it, e.g. with [`miniconda`](https://docs.anaconda.com/free/miniconda/index.html): +Create a virtual environment with Python 3.10 and activate it using [`uv`](https://github.com/astral-sh/uv): ```bash -conda create -y -n lerobot python=3.10 -conda activate lerobot +# Install uv if you haven't already +curl -LsSf https://astral.sh/uv/install.sh | sh + +# Create and activate virtual environment with Python 3.10 +uv venv .venv --python=3.10 +source .venv/bin/activate # On Unix/macOS +# .venv\Scripts\activate # On Windows ``` Install 🤗 LeRobot: ```bash -pip install -e . +uv pip install -e . ``` > **NOTE:** Depending on your platform, If you encounter any build errors during this step