#951·spleeter

[Bug] google colab and spleeter is incompatible.

Author: skabbitCreated Apr 6, 2026Updated Apr 6, 2026
Labelsbuginvalid

there is multiple other reports about incompatibility caused by Python 3.10 era and numpy version.

here is my solution for google colab:

# Cell 1 — install condacolab (kernel will restart automatically)
!pip install -q condacolab
import condacolab
condacolab.install()

# Cell 2 — after kernel restarts, run this
!conda install -c conda-forge -y ffmpeg libsndfile python=3.10
!pip install "numpy<2" spleeter

# Cell 3 — test it
!wget -q https://github.com/deezer/spleeter/raw/master/audio_example.mp3
!python -m spleeter separate -p spleeter:2stems -o output audio_example.mp3