spleeter icon indicating copy to clipboard operation
spleeter copied to clipboard

[Bug] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.5 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

Open tvmaly opened this issue 8 months ago • 2 comments

  • [X] I didn't find a similar issue already open.
  • [ ] I read the documentation (README AND Wiki)
  • [ ] I have installed FFMpeg
  • [ ] My problem is related to Spleeter only, not a derivative product (such as Webapplication, or GUI provided by others)

Description

I am getting an error about the version of Numpy a module is compiled against.

Step to reproduce

I installed spleeter into its own venv on Windows 10. I am using Python 3.10.

Everything installs. When I try to test it out with the following command

spleeter.exe separate -p spleeter:2stems -o output audio_example.mp3

I get several stack traces and the message:

A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.5 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

Output

I would expect the split stem files.

Environment

OS Windows 10
Installation type pip
RAM available 64 GB
Hardware spec Nvidia 2070 with 8GB VRAM.

Additional context

tvmaly avatar May 10 '25 14:05 tvmaly

Same issue here. solved by creating a new conda environment using python 3.8

CetinSavas avatar Jun 26 '25 05:06 CetinSavas

Same issue here after installing with pip 22.3.1 and Python 3.10 in a venv. Recreating whole env did not help.

mjablons1 avatar Jul 09 '25 19:07 mjablons1

Same for 3.9

kossnikita avatar Dec 15 '25 23:12 kossnikita