[Discussion] distutils has been deprecated, what is the workaround?
ModuleNotFoundError: No module named 'distutils.msvccompiler'
How do we install Spleeter when it uses something that no longer exists?
~~Same issue~~
I solved this by downgrading Python to 3.8. It seemed like the issue was that spleeter requires numpy v1.18, which I believe requires python v3.9 or lower.
Did you solve this problem? I also encountered this problem.
Getting the following error while installing spleeter using pip.
I am using python 3.9. Initially I used 3.13 and then tried to install python 3.8 as recommended by @cindehaa but it has been deprecated upstream. Hence settled for 3.9. I've also tried a bunch of solutions on the internet like installing setuptools (https://stackoverflow.com/questions/69919970/no-module-named-distutils-util-but-distutils-installed) but I'm still getting the same error.
Any help or guidance would be appreciated.
System: M2 macbook air, MacOS 15.1
Having same issue here:
I tried installing setuptools as specified here and manually installing distutils with:
sudo apt-get install --reinstall python3.11-distutils (working with Python 3.11) but none worked.
Would love to hear some news on this problem.
System: Ubuntu 22.04.5 LTS.
Thanks!!
I'm having this problem.
UPDATE:
Solved by installing python 3.8.0 and uninstallying numpy. Performing pip install spleeter then automatically adds the depencies
same problem.
solved: by using python 3.10 and putting this in the requirements file:
numpy<2
spleeter
~Same issue~
I solved this by downgrading Python to 3.8. It seemed like the issue was that spleeter requires numpy v1.18, which I believe requires python v3.9 or lower.
This suggestion worked for me! I created a fresh conda environment with python==3.8.18, installed ffmpeg and libsndfile, and then could run pip install spleeter with no problem.