pip: no-binary / no-use-wheel mismatch
--no-binary
still installs a wheel if this is a non-binary wheel. So --no-binary
is not an 1:1 replacement for --no-use-wheel
and therefore the latter shouldn’t be marked as deprecated.
See #1891 why --no-use-wheel
is still an important option.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 1
- Comments: 19 (15 by maintainers)
The correct syntax is
pip install --no-binary :all: pytest
😃I get tricked by this all the time. I write:
The
--no-cache-dir
gets read as the argument to--no-binary
, and pip goes and does exactly what I didn’t want.BTW, I thought this was just some emphasis issue in the docs, maybe you should better format this to make it clear the colons should be included.
Based on the views above, I think what we need to do is to emphasize the existence of colons and provide some examples. I’ll make a PR later.