
To avoid import errors on such systems, specify the correct path in waf configure using a -pythondir option or the PYTHONDIR environmental variable. Note that when installing Essentia to the default /usr/local prefix, on some Linux distributions this results in a wrong /usr/local/lib/python3/dist-packages/ package installation path (for example, Ubuntu, see Alternatively, you can set a specific Python binary using the -python=PYTHON configuration option. To build Essentia with Python 3 bindings, use the -with-python configuration flag.īy default, the waf build script will auto-detect the site-packages (or dist-packages) directory to install Essentia’s Python package according to the Python binary used to execute it. You can install those dependencies on a Debian/Ubuntu system from official repositories using the command below: TensorFlow: for inference with TensorFlow deep learning models (optional)Īll dependencies are optional, and some functionality will be excluded when a dependency is not found.

Gaia: for using SVM classifier models (optional)Ĭhromaprint: for audio fingerprinting (optional) LibYAML: for YAML files input/output (optional) TagLib: for reading audio metadata tags (optional) Libsamplerate: for resampling audio (optional) Libavcodec/libavformat/libavutil/libswresample (from the FFmpeg/LibAv project): for loading/saving any type of audio files (optional) Compiling Essentia from source ¶Įssentia depends on (at least) the following libraries:įFTW: for the FFT implementation (optional) Windows, Android, iOS ¶Ĭross-compile Essentia from Linux/macOS (see below). For other needs, you need to compile Essentia from source (see below).
