spleeter
spleeter copied to clipboard
Cannot do `poetry add spleeter` due to `tensorflow-io-gcs-filesystem` error
- [✅] 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
If I run poetry add spleeter I get the following error
Unable to find installation candidates for tensorflow-io-gcs-filesystem (0.34.0)
• Installing opt-einsum (3.3.0)
• Installing rfc3986 (1.5.0)
• Installing tensorboard (2.9.1)
• Installing tensorflow-estimator (2.9.0)
• Installing tensorflow-io-gcs-filesystem (0.34.0): Failed
RuntimeError
Unable to find installation candidates for tensorflow-io-gcs-filesystem (0.34.0)
• Installing libclang (16.0.6): Downloading... 100%
• Installing opt-einsum (3.3.0)
• Installing rfc3986 (1.5.0)
• Installing tensorboard (2.9.1)
• Installing tensorflow-estimator (2.9.0)
• Installing tensorflow-io-gcs-filesystem (0.34.0): Failed
RuntimeError
I think this is due to you defining tensorflow = "^2.5.0, <2.10.0" in pyproject.toml but not tensorflow-io-gcs-filesystem.
From here we see the correct version is tensorflow-io-gcs-filesystem = "0.27.0".
Please add that line to pyproject.toml. I added the following to my own pyproject.toml and it fixed the problem
tensorflow = "^2.5.0, <2.10.0"
tensorflow-io-gcs-filesystem = "0.27.0"
spleeter = "^2.4.0"
Environment
| OS | Windows |
| Installation type | Poetry |
| RAM available | 32 GB |
| Hardware spec | RTX 3070 Ti GPU, 12th Gen Intel i7 |