lerobot_tutorial / 1. LeRobot Installation.md
aailabkaist's picture
Upload 4 files
1a59c60 verified
|
Raw
History Blame Contribute Delete
1.4 kB
# LeRobot Setting Guide
https://huggingface.co/docs/lerobot/installation \
https://huggingface.co/docs/lerobot/so101
last updated Dec/26/2025
# 1. LeRobot Installation
## 1-1. Python ๊ฐ€์ƒ ํ™˜๊ฒฝ ์ƒ์„ฑ
```bash
# Create python 3.10 conda env
conda create -n lerobot python=3.10 -y
# Activate env
conda activate lerobot
```
---
## 1-2. ffmpeg, Rerun ์„ค์น˜
- ์˜์ƒ ์ฒ˜๋ฆฌ๋ฅผ ์œ„ํ•ด `ffmpeg` ํ•„์š”
- LeRobot ๋ฐ์ดํ„ฐ visualization์„ ์œ„ํ•ด `Rerun` ํ•„์š”
```bash
conda install ffmpeg=7.1.1 -c conda-forge
pip install rerun-sdk
```
---
## 1-3. LeRobot ์†Œ์Šค ์ฝ”๋“œ ๋‹ค์šด๋กœ๋“œ
```bash
# LeRobot github repo clone
git clone https://github.com/huggingface/lerobot.git
cd lerobot
```
---
## 1-4. LeRobot ์„ค์น˜
```bash
pip install -e .
```
---
## 1-5. ๋กœ๋ด‡ ํ•˜๋“œ์›จ์–ด ๋“œ๋ผ์ด๋ฒ„
์‚ฌ์šฉํ•˜๋Š” ๋ชจํ„ฐ์— ๋งž๋Š” ๋“œ๋ผ์ด๋ฒ„ ์„ค์น˜
```bash
# Feetech motor (SO-100, SO-101)
pip install -e ".[feetech]"
# Dynamixel motor (Koch, etc.)
pip install -e ".[dynamixel]"
```
---
## 1-6. ์„ค์น˜ ํ™•์ธ
```bash
python -c "import lerobot; print(lerobot.__version__)"
```
---
## (Optional) ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ํ™˜๊ฒฝ
ํŠน์ • ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ํ™˜๊ฒฝ์„ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ์ถ”๊ฐ€ ํŒจํ‚ค์ง€ ์„ค์น˜
```bash
# ALOHA ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ํ™˜๊ฒฝ
pip install -e ".[aloha]"
# Push-T ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ํ™˜๊ฒฝ
pip install -e ".[pusht]"
# ๋ชจ๋“  ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ํ™˜๊ฒฝ
pip install -e ".[aloha,pusht,xarm]"
```
---