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

Special case error message when wheel is missing with no build isolation #2342

Closed
konstin opened this issue Mar 10, 2024 · 1 comment
Closed
Assignees

Comments

@konstin
Copy link
Member

konstin commented Mar 10, 2024

          I have problems with [`xformers` by Meta](https://github.com/facebookresearch/xformers) (see [issue](https://github.com/facebookresearch/xformers/issues/940)). I even tried with latest `uv` _without build isolation_:
❯ uv pip install setuptools torch numpy
Resolved 11 packages in 2ms
Installed 1 package in 23ms
 + numpy==1.26.4

❯ uv pip install xformers --no-build-isolation
Resolved 11 packages in 2ms
error: Failed to download distributions
  Caused by: Failed to fetch wheel: xformers==0.0.24
  Caused by: Failed to build: xformers==0.0.24
  Caused by: Build backend failed to build wheel through `build_wheel()` with exit status: 1
--- stdout:

--- stderr:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'bdist_wheel'

Originally posted by @baggiponte in #2252 (comment)

@konstin konstin self-assigned this Mar 10, 2024
@konstin konstin closed this as completed Mar 10, 2024
@baggiponte
Copy link

baggiponte commented Mar 10, 2024

Also posting the solution provided by @charliermarsh : you just have to install wheel.

(Also: will you eventually re-implement wheel so that uv can handle these cases?)

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

2 participants