Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: better error message when there's missing wheels #10041

Open
thewh1teagle opened this issue Dec 19, 2024 · 0 comments
Open

Request: better error message when there's missing wheels #10041

thewh1teagle opened this issue Dec 19, 2024 · 0 comments

Comments

@thewh1teagle
Copy link

thewh1teagle commented Dec 19, 2024

Hello!
I'm trying to install modelscope on macOS m1 aarch64 using the following command:

uv pip install "modelscope[audio]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html

and it failed with very long error message:

Summary:

Because kwsbp==0.0.6 has no wheels with a matching Python ABI tag and only kwsbp<=0.0.6 is available, we can conclude that kwsbp>=0.0.6 cannot be used.
And because modelscope[audio]==1.21.0 depends on kwsbp>=0.0.6, we can conclude that modelscope[audio]==1.21.0 cannot be used.
And because we know from (108) that all of:
    modelscope[audio]<1.21.0
    modelscope[audio]>1.21.0
are incompatible, we can conclude that all versions of modelscope[audio] are incompatible.
And because you require modelscope[audio], we can conclude that your requirements are unsatisfiable.
``
[log.txt](https://github.com/user-attachments/files/18203431/log.txt)


Environment:

```console
macOS 14.5 aarch64 m1
.python-version: 3.13
pyproject.toml: requires-python = ">=3.13"
uv 0.4.29 (85f9a0d0e 2024-10-30)

It seems like the error happens simply because there's missing wheels. but it's hard to understand it from the error message.
Can we improve the error message so it will be short and informative? Thanks!

Update:
it failed also on WIndows 11 and Ubuntu 22.04 x86-64

Reproduce:

uv venv
uv pip install "modelscope[audio]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
@thewh1teagle thewh1teagle changed the title Request: better error message when of missing wheels Request: better error message when there's missing wheels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant