The automatic annotation and analysis of speech

Installation instructions

Installation is twofold: install SPPAS package, then install external programs.

Install or Update the SPPAS Package

SPPAS provides a single package version that is independent of the operating system.

The installation process is simple: all you need to do is download the package from the website and place it in a location within your user directory. Since the package is compressed and zipped, you will need to decompress and unpack it after downloading it. Once unpacked, you're ready to install the external programs. See the next section for details on how to install them.

How to unzip?

About the location of the uncompressed package

You need to choose a location within your user directory. SPPAS provides customizable solutions; therefore, each user must have their own installation of SPPAS and must have 'write' permissions for the chosen location.

About the name of the uncompressed package


Install external programs

This is a two-stage process:

  1. install the required ones;
  2. launch setup to install the optional ones.

1. Required external programs

Under Windows

Windows Logo 1985

Launch the Microsoft Store. Search the Microsoft Store app for “Python 3”. Select the App with the name Python 3.9, or 3.10, or 3.11. Ensure that the app you select is published by the Python Software Foundation.

Get details about this installation procedure

Under MacOS

Mac Logo 1984
  1. Install Homebrew.
  2. Python 3.9 is already installed. However, if you want to install a more recent version, open the Terminal application and launch the command:
    brew install python

Under Linux

Linux Logo

Check if Python >= 3.7, then use either apt/yum/brew or any other tool to install the packages:

  1. python3
  2. python3-venv
  3. python3-pip
  4. gstreamer (optional)
  1. IMPORTANT!   Use Python... Do NOT use Anaconda: it will crash.
  2. For a full experience of SPPAS, choose Python 3.9 - 3.11
  3. Installing one and ONLY ONE version of Python is highly recommended!

2. Enable features: setup

External programs must be installed on your operating system to enable certain features of SPPAS. You need to do this each time you install a new version of SPPAS or change the version of Python on your computer.

The SPPAS setup was tested with Firefox only. Using another web-browser is at your own risk.

Under Windows

Windows Logo 1985

Solution 1: Let's SPPAS installing the programs

Double-click the `setup.bat` file. After a few seconds, it will open a new tab in your preferred web browser—hopefully, Firefox. Then, follow the instructions.

Once it's done, you can close the web browser tab.

Solution 2: Install the programs manually

  1. Launch either 'cmd.exe' or the 'PowerShell' application or the 'PowerShell with Admin rights' application
  2. Change location to the unzipped SPPAS package
  3. Launch the command:
    python.exe -m venv .sppaspyenv~
  4. Launch the command:
    .sppaspyenv~\Scripts\python.exe sppas\bin\preinstall.py
    Then choose the features to be installed.

Under MacOS or Linux

Mac Logo 1984 Linux Logo
You may need to change file permission to add the "execution" right. Open a terminal, change directory to SPPAS folder and execute: chmod +x *.command

Solution 1: Let's SPPAS installing the programs

Double-click the `setup.command` file. After a few seconds, a new tab will open in your preferred web browser – ideally Firefox. You may be prompted to enter the administrator password in the terminal application.

On Linux, this procedure is supported only if either "brew" or "dpkg/apt" is available.

Solution 2: Install the programs manually

  1. Open a Terminal application
  2. Change location to the SPPAS package
  3. Launch the command:
    python3 -m venv .sppaspyenv~
  4. Launch the command:
    .sppaspyenv~/bin/python sppas/bin/preinstall.py
    Then choose the features to be installed.

Solution 3: Full manual procedure

Perform steps 1 to 3, of Solution 2.

Below are most of the programs and Python packages to be installed either in your OS, or in the python virtual environment, with pypi. Take a look at the file sppas/etc/features.ini for the full list and versions.


F.A.Q.

What happens with newer versions of Python?

Due to MediaPipe's outdated state and lack of maintenance by Google, users requiring MediaPipe functionality in SPPAS cannot currently use Python 3.12 or newer. MediaPipe currently requires an older version of NumPy, as it has not been updated for compatibility with NumPy >= 2.0. Unfortunately, this dependency issue originates from MediaPipe’s current state of development, and we must constrain our dependencies accordingly. As a result, OpenCV also cannot be updated to its latest versions, which affects all image and video processing features in SPPAS.

  • Python 3.13 is supported by SPPAS from version 4.23.
  • Python 3.12 is supported by SPPAS from version 4.17.
  • Python 3.11 is supported by SPPAS starting from version 4.12.
  • Python 3.10 is supported by SPPAS starting from version 4.7.

If you need a previous version of SPPAS, you must install a compatible version of Python.

What happens with older versions of Python?
  • Python 2.7.x is no longer supported.
  • Most of the features of SPPAS require external programs that are not available or deprecated for Python before 3.10.
What is happening if I change the Python version on my computer?

SPPAS can work with various versions of Python. If you need to update Python on your system, you also have to delete the folder ".sppaspyenv~", which is located at the root of the SPPAS package. Then, re-launch the setup.

Contact Python developers or see the Python FAQ for any help with Python installation.

External programs installation ISSUES

Installation error of Julius under Windows

If you installed the programs without the administration rights, Julius failed to be installed. You have then to move the file "julius.exe" to C:\\WINDOWS, or anywhere else Windows can find it.

ISSUE for macOS 12+

The new gift of Apple: Under macOS 12, it seems that SPPAS is no longer allowed to launch "julius" to perform alignment. The Gatekeeper is overly zealous in preventing a third party app from being used in macOS.

In that case, turn off Gatekeeper through the System Preferences or launch Terminal if you haven't done so yet (/Applications/Utilities/) and issue the following command to turn off Gatekeeper: >sudo spctl --master-disable

ISSUE for Windows 10 + Python 3 + wxPython 4 + non-romanized languages

There's currently an issue - described here, under Some Windows OS with the versions Python 3.8+ and WxPython 4.1.0. It concerns only languages with a non-Romanized writing system. We are waiting that the developers of Python/wxPython solve the problem. I recommend to Windows users of non-romanized languages to choose an earlier version of Python (3.6 or 3.7).

Notice that it is not an issue under Linux and macOS; because the problem comes from Windows OS itself.