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.
Move into the directory where you want to place the repository folder, and download it from github.
git clone https://github.com/themattinthehatt/daartMove into the newly created folder:
cd daartand install the package and all dependencies:
pip install -e .
Verify that all the unit tests are passing on your machine by running
pytestThe tests will take a few minutes to run. You should not see any fails; warnings are ok.
To be able to use this environment for jupyter notebooks:
python -m ipykernel install --user --name daart