Installation

First you’ll have to install the git package in order to access the code on github. Follow the git installion instructions for your specific OS.

Install ffmpeg

First, check to see you have ffmpeg installed by typing the following into the terminal:

ffmpeg -version

If not, install:

sudo apt install ffmpeg

Set up a conda environment

Next, follow the conda installation instructions to install the conda package for managing development environments. Then, create a conda environment:

conda create --name daart python=3.10

Active the new environment:

conda activate daart

Install daart

Note

Make sure your conda environment is activated during the following steps.

  1. Move into the directory where you want to place the repository folder, and download it from github.

    git clone https://github.com/themattinthehatt/daart
    
  2. Move into the newly created folder:

    cd daart
    

    and install the package and all dependencies:

    pip install -e .
    
  3. Verify that all the unit tests are passing on your machine by running

    pytest
    

    The tests will take a few minutes to run. You should not see any fails; warnings are ok.

  4. To be able to use this environment for jupyter notebooks:

    python -m ipykernel install --user --name daart