Error message upon installation attempt - ERROR: Could not find a version that satisfies the requirement
Got the following error(s) when trying to install, initially -
ERROR: Could not find a version that satisfies the requirement onnxruntime<1.20.0,>=1.12.0 (from withoutbg) (from versions: 1.20.0, 1.20.1, 1.21.0, 1.21.1, 1.22.0, 1.22.1)
ERROR: No matching distribution found for onnxruntime<1.20.0,>=1.12.0
was able to resolve issue by installing using the following input:
pip install withoutbg --no-deps
Hey! Thanks for reporting this and finding a workaround. 👍
I've just released an update that fixes this issue. The onnxruntime dependency constraint has been updated to support versions >=1.12.0,<2.0.0, which includes the latest releases (1.20.x, 1.21.x, 1.22.x).
You should now be able to install without the --no-deps flag:
# Using uv (recommended)
uv add withoutbg
# Or with pip
pip install withoutbg --upgrade
Note on GPU Support: The current release uses onnxruntime (CPU-only). GPU acceleration via onnxruntime-gpu will be added in upcoming releases.
Let me know if you run into any other issues! 🚀