withoutbg-python
withoutbg-python copied to clipboard
Versionconflict with pip
I tried to test this out. Looks like there is a version conflict in python packages and package version.
When installing withoutbg not pinned to any version:
(.venv) withoutbg ❯ pip install -r requirements.txt
Collecting withoutbg (from -r requirements.txt (line 1))
Downloading withoutbg-1.0.0-py3-none-any.whl.metadata (8.1 kB)
Collecting click>=8.0.0 (from withoutbg->-r requirements.txt (line 1))
Using cached click-8.3.1-py3-none-any.whl.metadata (2.6 kB)
Collecting huggingface-hub>=0.33.5 (from withoutbg->-r requirements.txt (line 1))
Downloading huggingface_hub-1.1.4-py3-none-any.whl.metadata (13 kB)
Collecting numpy>=1.21.0 (from withoutbg->-r requirements.txt (line 1))
Using cached numpy-2.3.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (62 kB)
INFO: pip is looking at multiple versions of withoutbg to determine which version is compatible with other requirements. This could take a while.
Collecting withoutbg (from -r requirements.txt (line 1))
Downloading withoutbg-0.1.0-py3-none-any.whl.metadata (8.0 kB)
ERROR: Cannot install -r requirements.txt (line 1) because these package versions have conflicting dependencies.
The conflict is caused by:
withoutbg 1.0.0 depends on onnxruntime<1.20.0 and >=1.12.0
withoutbg 0.1.0 depends on onnxruntime<1.20.0 and >=1.12.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict
[notice] A new release of pip is available: 25.2 -> 25.3
[notice] To update, run: pip install --upgrade pip
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
When pinning to withoutbg==1.0.0:
(.venv) withoutbg ❯ pip install -r requirements.txt
Collecting withoutbg==1.0.0 (from -r requirements.txt (line 1))
Using cached withoutbg-1.0.0-py3-none-any.whl.metadata (8.1 kB)
Collecting click>=8.0.0 (from withoutbg==1.0.0->-r requirements.txt (line 1))
Using cached click-8.3.1-py3-none-any.whl.metadata (2.6 kB)
Collecting huggingface-hub>=0.33.5 (from withoutbg==1.0.0->-r requirements.txt (line 1))
Using cached huggingface_hub-1.1.4-py3-none-any.whl.metadata (13 kB)
Collecting numpy>=1.21.0 (from withoutbg==1.0.0->-r requirements.txt (line 1))
Using cached numpy-2.3.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (62 kB)
INFO: pip is looking at multiple versions of withoutbg to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python >=3.9,<3.13; 1.26.1 Requires-Python >=3.9,<3.13
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, 1.23.0, 1.23.1, 1.23.2, 1.24.0.dev20251031003)
[notice] A new release of pip is available: 25.2 -> 25.3
[notice] To update, run: pip install --upgrade pip
ERROR: No matching distribution found for onnxruntime<1.20.0,>=1.12.0
Looks like this requires an old Python 3.10, Release Date: Oct. 4, 2021?
Just released a fix. Please re-try and let me know if you have any issues.
Nice, can confirm, this installs fine now. Thanks for fixing it.