For example, on Ubuntu 22.04 the correct path for the default Python 3.10 is /usr/local/lib/python3.10/dist-packages/.Īlternatively, you can also configure the PYTHONPATH variable to include the /usr/local/lib/python3/dist-packages/ path in the list of Python 3 module search paths.įinally, if you are having ImportError: libessentia.so: cannot open shared object file: No such file or directory in Python after installation on Linux, make sure that /usr/local/lib is included to LD_LIBRARY_PATH or run ldconfig. 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).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |