From 98662e5f248afd4c141ce9c42113b1c1621f7eca Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Sun, 19 Oct 2025 19:19:21 +0200 Subject: [PATCH] chore(install): use miniforge instead of miniconda (#2249) Co-authored-by: Silvio Traversaro --- CONTRIBUTING.md | 2 +- README.md | 4 ++-- docs/source/installation.mdx | 11 +++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a07596728..dcb5c03d8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -137,7 +137,7 @@ Follow these steps to start contributing: 4. for development, we advise to use a tool like `poetry` or `uv` instead of just `pip` to easily track our dependencies. Follow the instructions to [install poetry](https://python-poetry.org/docs/#installation) (use a version >=2.1.0) or to [install uv](https://docs.astral.sh/uv/getting-started/installation/#installation-methods) if you don't have one of them already. - Set up a development environment with conda or miniconda: + Set up a development environment with conda: ```bash conda create -y -n lerobot-dev python=3.10 && conda activate lerobot-dev diff --git a/README.md b/README.md index ff20e79d5..56d82c0c7 100644 --- a/README.md +++ b/README.md @@ -104,14 +104,14 @@ LeRobot works with Python 3.10+ and PyTorch 2.2+. ### Environment Setup -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, e.g. with [`miniforge`](https://conda-forge.org/download/): ```bash conda create -y -n lerobot python=3.10 conda activate lerobot ``` -When using `miniconda`, install `ffmpeg` in your environment: +When using `conda`, install `ffmpeg` in your environment: ```bash conda install ffmpeg -c conda-forge diff --git a/docs/source/installation.mdx b/docs/source/installation.mdx index f5fd09acd..f5fc41b43 100644 --- a/docs/source/installation.mdx +++ b/docs/source/installation.mdx @@ -1,8 +1,15 @@ # Installation +## Install [`miniforge`](https://conda-forge.org/download/) + +```bash +wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" +bash Miniforge3-$(uname)-$(uname -m).sh +``` + ## Environment Setup -Create a virtual environment with Python 3.10, using [`Miniconda`](https://docs.anaconda.com/miniconda/install/#quick-command-line-install) +Create a virtual environment with Python 3.10, using conda: ```bash conda create -y -n lerobot python=3.10 @@ -14,7 +21,7 @@ Then activate your conda environment, you have to do this each time you open a s conda activate lerobot ``` -When using `miniconda`, install `ffmpeg` in your environment: +When using `conda`, install `ffmpeg` in your environment: ```bash conda install ffmpeg -c conda-forge