MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.86k stars 534 forks source link

Pip install fail on Linux #1415

Open lucmans opened 6 months ago

lucmans commented 6 months ago

When tying to install essentia (using pip install essentia in a venv), installation fails on compilation. I'm using Python 3.12 with pip 24.0.

Excerpt of output: Building wheels for collected packages: essentia Building wheel for essentia (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for essentia (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [5752 lines of output] .... File "/tmp/pip-build-env-roa5t1fs/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "", line 46, in run IndexError: list index out of range [end of output]

Furthermore, I get the following warning (also on other available versions): Discarding https://files.pythonhosted.org/packages/bd/10/57da0f50d2a5e1635a463cc6495089f17ee59508e56d8f7ab4e198f7c08c/essentia-2.1b6.dev234.tar.gz (from https://pypi.org/simple/essentia/): Requested essentia from https://files.pythonhosted.org/packages/bd/10/57da0f50d2a5e1635a463cc6495089f17ee59508e56d8f7ab4e198f7c08c/essentia-2.1b6.dev234.tar.gz has inconsistent version: expected '2.1b6.dev234', but metadata has '2.1b6.dev0'

JacoTome commented 5 months ago

Similar error on Windows 11 too, both in virtual env and locally.

zerocase commented 5 months ago

Hi, so far the essentia library seems to only work for python 3.11 and lower hopefully this helps. You can try using pyenv to manage multiple python versions.

dbogdanov commented 5 months ago

Currently, there are no Python 3.12 wheels for Linux. We have to rebuild our Manylinux Docker image to add support for 3.12, but there was some issue in the build process. I'll keep you updated.