docs: update installation instructions to use uv instead of conda (#731)
Co-authored-by: Steven Palma <imstevenpmwork@ieee.org>
This commit is contained in:
parent
a00936686f
commit
d694ea1d38
13
README.md
13
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue