Ubuntu-Computer
Der schwarze Führungsarm verwendet ein 5V6A-Netzteil
Der weiße Folgearm verwendet ein 12V5A-Netzteil
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.12 -yVirtuelle Umgebung betreten
Shell
conda activate lerobotffmpeg installieren
Shell
conda install *ffmpeg*=7.1.1 *-c* conda-forge -yInstallation erfolgreich verifizieren
Shell
ffmpeg

LeRobot-Code herunterladen
Variante A: Code dieses Repositories direkt verwenden (empfohlen)
Variante B: Offizielles Code-Repository herunterladen und die entsprechenden Dateien manuell ersetzen
Shell
git clone https://github.com/huggingface/lerobot.gitCode-Repository installieren
Shell
#cd lerobot-main
cd lerobot
pip install -e ".[feetech]"

Installation erfolgreich verifizieren
Shell
lerobot-info
python
import lerobot
lerobot.__version__
import torch
torch.cuda.is_available()
import scservo_sdkErgebnis der Ausführung auf dem 4090-Rechner


Ergebnis der Ausführung auf dem NVIDIA DGX Spark


