Skip to content

DeepLabCut Installation

Carlos Lizarraga-Celaya edited this page Aug 9, 2024 · 6 revisions

(Credit: Nick Morrison, Unsplash.com)


We are going to follow the installation instructions that are given on the installation documentation page.

Installation on a MacBook (M1 chip)

Download the miniconda suite

We use the recommended miniconda installation. You can download the appropriate miniconda installer from the Anaconda site. Select the platform: Intel or Apple M1. You can do a graphical installation (pkg) or via terminal (bash).

Download the YAML file

Go directly to the DeepLabCut repository and download the raw DEEPLABCUT.yaml file.

You can create a DeepLabCut working directory and move the yaml file there.

mkdir DeepLabCut
cd DeepLabCut

After moving the yaml file there, then from this directory, run the following command

conda env create -f DEEPLABCUT.yaml

then a series of lines will show the process output, while the script is installing the required software packages. Wait until the process finishes successfully.

After completion, then you can activate the new environment

conda activate DEEPLABCUT

You are now ready to run DeepLabCut

python -m deeplabcut

Then you will get the active GUI

You are ready to start.


Created: 08/09/2024 (C. Lizárraga)

Updated: 08/10/2024 (C. Lizárraga)

DataLab, Data Science Institute, University of Arizona.

CC BY-NC-SA 4.0