Skip to content

Commit d694ea1

Browse files
docs: update installation instructions to use uv instead of conda (#731)
Co-authored-by: Steven Palma <imstevenpmwork@ieee.org>
1 parent a009366 commit d694ea1

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,20 @@ git clone https://github.com/huggingface/lerobot.git
9292
cd lerobot
9393
```
9494

95-
Create a virtual environment with Python 3.10 and activate it, e.g. with [`miniconda`](https://docs.anaconda.com/free/miniconda/index.html):
95+
Create a virtual environment with Python 3.10 and activate it using [`uv`](https://github.com/astral-sh/uv):
9696
```bash
97-
conda create -y -n lerobot python=3.10
98-
conda activate lerobot
97+
# Install uv if you haven't already
98+
curl -LsSf https://astral.sh/uv/install.sh | sh
99+
100+
# Create and activate virtual environment with Python 3.10
101+
uv venv .venv --python=3.10
102+
source .venv/bin/activate # On Unix/macOS
103+
# .venv\Scripts\activate # On Windows
99104
```
100105

101106
Install 🤗 LeRobot:
102107
```bash
103-
pip install -e .
108+
uv pip install -e .
104109
```
105110

106111
> **NOTE:** Depending on your platform, If you encounter any build errors during this step

0 commit comments

Comments
 (0)