Skip to content

Ambiguous error when there's no available wheel #124142

@thewh1teagle

Description

@thewh1teagle

Bug description:

When trying to install the following package:

pip install israwave==0.1.3

It failed with this error

ERROR: Cannot install israwave==0.1.0, israwave==0.1.1, israwave==0.1.2 and israwave==0.1.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    israwave 0.1.3 depends on piper-phonemize-fork>=1.2.0; platform_system != "Linux"
    israwave 0.1.2 depends on piper-phonemize-fork>=1.2.0; platform_system != "Linux"
    israwave 0.1.1 depends on piper-phonemize-fork>=1.2.0; platform_system != "Linux"
    israwave 0.1.0 depends on piper-phonemize-fork>=1.2.0; platform_system != "Linux"

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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip is available: 24.1.2 -> 24.2
[notice] To update, run: pip install --upgrade pip

This error is completely confusing.
The actual cause is:

 uv run python -m pip install ../israwave
Processing /Volumes/Internal/israwave
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting onnxruntime>=1.19.2 (from israwave==0.1.3)
  Using cached onnxruntime-1.19.2-cp310-cp310-macosx_11_0_universal2.whl.metadata (4.5 kB)
Collecting numpy>=2.1.1 (from israwave==0.1.3)
  Using cached numpy-2.1.1-cp310-cp310-macosx_14_0_arm64.whl.metadata (60 kB)
Collecting soundfile>=0.12.1 (from israwave==0.1.3)
  Using cached soundfile-0.12.1-py2.py3-none-macosx_11_0_arm64.whl.metadata (14 kB)
Collecting sounddevice>=0.5.0 (from israwave==0.1.3)
  Using cached sounddevice-0.5.0-py3-none-macosx_10_6_x86_64.macosx_10_6_universal2.whl.metadata (1.4 kB)
Collecting nakdimon-ort>=0.1.5 (from israwave==0.1.3)
  Using cached nakdimon_ort-0.1.5-py2.py3-none-any.whl.metadata (1.0 kB)
INFO: pip is looking at multiple versions of israwave to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement piper-phonemize-fork>=1.2.0; platform_system != "Linux" (from israwave) (from versions: none)
ERROR: No matching distribution found for piper-phonemize-fork>=1.2.0; platform_system != "Linux"

[notice] A new release of pip is available: 24.1.2 -> 24.2
[notice] To update, run: pip install --upgrade pip

That piper-phonemize-fork/ simply doesn't have available python wheel for python3.10. That should be the actual error instead of 'conflict error'

CPython versions tested on:

3.10

Operating systems tested on:

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions