Error message when package isn't support by current python version leaves a lot to be desired #5915
Labels
auto-locked
Outdated issues that have been locked by automation
resolution: duplicate
Duplicate of an existing issue/PR
Environment
Description
If you attempt to install a package with a
requires-python
that doesn't match your current Python, the error message is unclear.Expected behavior
An error stating the package could not be installed because there was no matching version should be emitted.
How to Reproduce
pip install black
However black exists, it just requires Python 3.6+
The text was updated successfully, but these errors were encountered: