Installation

Automatic installation

To install the package, you can use the following command:

Open a terminal and run the following command:

sudo apt update && sudo apt install -y wget ffmpeg
wget "https://github.com/ramajoballester/pyaligner/releases/latest/download/PyAligner-$(uname)-$(uname -m).sh"
bash PyAligner-$(uname)-$(uname -m).sh

You can now close the terminal and open a new one to install PyAligner.

PyAligner

Finally, install the PyAligner package:

mamba activate pyaligner_env
pip install pyaligner

PyAligner is now installed and ready to use. Check the User guide chapter for more information.

Manual installation

Run each command at a time.

Miniforge

Open a terminal and run the following command:

sudo apt update
sudo apt install -y wget

Then, install Miniforge:

wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
mamba init

Dependencies

Once Miniforge is installed, you can create a virtual environtment with all the dependencies:

mamba create -n pyaligner_env -c conda-forge python montreal-forced-aligner pyqt git

Do not forget to activate the environment:

mamba activate pyaligner_env

PyAligner

Finally, install the PyAligner package:

pip install pyaligner

PyAligner is now installed and ready to use. Check the User guide chapter for more information.