You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to install a package that is already installed, there is a spurious warning about wheel:
# pip3 install lxml
Looking in indexes: XXX
Requirement already satisfied: lxml in /venv/lib/python3.7/site-packages (4.5.0)
Could not build wheels for lxml, since package 'wheel' is not installed.
Expected behavior
Should not say "Could not build wheels for lxml, since package 'wheel' is not installed." when there was no wheel to build.
How to Reproduce
Install pip 20.1 in a venv with no wheel package installed
Run pip3 install lxml that uses a prebuilt .whl
Run pip3 install lxml again
See the useless complaint
Output
Paste the output of the steps above, including the commands themselves and
pip's output/traceback etc.
# pip3 install lxml
Looking in indexes: XXX
Requirement already satisfied: lxml in /venv/lib/python3.7/site-packages (4.5.0)
Could not build wheels for lxml, since package 'wheel' is not installed.
This error message has been improved in #8180, which should be part of pip 20.1.1.
In a nutshell pip is progressively evolving to always build a wheel then installing from it.
I'll therefore close this one as duplicate of #8178. See also #8102 for an ongoing discussion about this topic.
Environment
Description
When trying to install a package that is already installed, there is a spurious warning about wheel:
Expected behavior
Should not say "Could not build wheels for lxml, since package 'wheel' is not installed." when there was no wheel to build.
How to Reproduce
Output
Related: #7768
The text was updated successfully, but these errors were encountered: