LeRobot Installation Guide

Install LeRobot

On your computer:

  1. Install Miniconda:

    We use Miniconda to manage Python environments and dependencies. To install Miniconda, download the installer for your Linux operating system from the Miniconda Installation Guide.

  2. Create and activate a fresh Conda environment for LeRobot:

    conda create -y -n lerobot python=3.10 && conda activate lerobot
    
  3. Clone LeRobot:

    git clone -b trossen-ai https://github.com/Interbotix/lerobot.git ~/lerobot
    
  4. Install LeRobot with dependencies for the Trossen AI arms (trossen-arm) and cameras (intelrealsense):

    cd ~/lerobot && pip install -e ".[trossen_ai]"
    
  5. For Linux only (not Mac), install extra dependencies for recording datasets:

    conda install -y -c conda-forge ffmpeg
    pip uninstall -y opencv-python
    conda install -y -c conda-forge "opencv>=4.10.0"