You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is related to Spleeter only, not a derivative product (such as Webapplication, or GUI provided by others)
Description
I think the new update 4 days ago related to compatible versions has caused some issue because previously the same code was working fine and giving output however now it is showing me numpy version error.
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details."
Output
previously this command would run perfectly fine and install spleeter.
Environment
OS
Windows 11
Installation type
pip
RAM available
12.7 GB
Hardware spec
GPU / CPU both
The text was updated successfully, but these errors were encountered:
@Emaan-Confinality the follow is not a fix but a work around using pyenv to install and older copy of python on collab:
!git clone https://github.com/pyenv/pyenv.git ~/.pyenv
import os
# Set the root for pyenv
os.environ['PYENV_ROOT'] = os.path.expanduser("~/.pyenv")
# Prepend pyenv's bin folder to PATH
os.environ['PATH'] = os.environ['PYENV_ROOT'] + '/bin:' + os.environ['PATH']
# Confirm pyenv is callable
!pyenv --version
!apt-get install libffi-dev
!pyenv install 3.8.13
!pyenv global 3.8.13
!pyenv exec pip install spleeter
!pyenv exec spleeter
Once this is done you should be able to call spleeter as needed with !pyenv exec spleeter as it will run using python 3.8.13.
You can build with it as you want just your notebooks will always have to use !pyenv to call it as though its on the command line (you could also use a subprocess but magic is more fun)
Description
I think the new update 4 days ago related to compatible versions has caused some issue because previously the same code was working fine and giving output however now it is showing me numpy version error.
Step to reproduce
!pip install spleeter
"Collecting spleeter
Using cached spleeter-2.1.0-py3-none-any.whl.metadata (10 kB)
Collecting ffmpeg-python==0.2.0 (from spleeter)
Using cached ffmpeg_python-0.2.0-py3-none-any.whl.metadata (1.7 kB)
Collecting httpx<0.17.0,>=0.16.1 (from httpx[http2]<0.17.0,>=0.16.1->spleeter)
Using cached httpx-0.16.1-py3-none-any.whl.metadata (38 kB)
Collecting librosa==0.8.0 (from spleeter)
Using cached librosa-0.8.0.tar.gz (183 kB)
Preparing metadata (setup.py) ... done
Collecting norbert==0.2.1 (from spleeter)
Using cached norbert-0.2.1-py2.py3-none-any.whl.metadata (3.8 kB)
Collecting numpy<1.19.0,>=1.16.0 (from spleeter)
Using cached numpy-1.18.5.zip (5.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details."
Output
previously this command would run perfectly fine and install spleeter.
Environment
The text was updated successfully, but these errors were encountered: