Umgebung einrichten (macOS)
Der schwarze Leader-Arm verwendet ein 5V6A-Netzteil
Der weiße Follower-Arm verwendet ein 12V5A-Netzteil
Berechtigungen erteilen

Miniconda installieren
https://www.anaconda.com/download
pip-Quelle ändern
Shell
pip config set global.index-url https://mirrors.aliyun.com/pypi/simpleconda-Quelle ändern
Shell
# Vorhandene .condarc-Konfiguration leeren (optional, um Konflikte zu vermeiden)
echo "" > ~/.condarc
# Tsinghua-Quellenkonfiguration schreiben
cat << EOF > ~/.condarc
channels:
- defaults
show_channel_urls: true
default_channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
EOF
# Cache leeren, damit die Konfiguration wirksam wird
conda clean -iVirtuelle Umgebung erstellen
Shell
conda create -y -n lerobot python=3.12Virtuelle Umgebung aktivieren
Shell
conda activate lerobotffmpeg installieren
Shell
conda install *ffmpeg*=7.1.1 *-c* conda-forge -yÜberprüfen Sie, ob die Installation erfolgreich war
Shell
ffmpeg
LeRobot herunterladen
- Laden Sie das offizielle LeRobot-Code-Repository herunter
Shell
git clone https://github.com/huggingface/lerobot.gitCode-Repository installieren
Shell
# cd lerobot-main
cd lerobot
pip install -e ".[feetech]"

Erfolgreiche Installation überprüfen
Shell
lerobot-info
python
import lerobot
import torch
torch.cuda.is_available()
import scservo_sdk


