docs: update installation instructions to use uv instead of conda (#731)

Co-authored-by: Steven Palma <imstevenpmwork@ieee.org>
This commit is contained in:
eDeveloperOZ 2025-03-05 11:07:35 +02:00 committed by GitHub
parent a00936686f
commit d694ea1d38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 4 deletions

View File

@ -92,15 +92,20 @@ git clone https://github.com/huggingface/lerobot.git
cd lerobot 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 ```bash
conda create -y -n lerobot python=3.10 # Install uv if you haven't already
conda activate lerobot 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: Install 🤗 LeRobot:
```bash ```bash
pip install -e . uv pip install -e .
``` ```
> **NOTE:** Depending on your platform, If you encounter any build errors during this step > **NOTE:** Depending on your platform, If you encounter any build errors during this step