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
Given user has python 3.7 installed
And user wants to install numpy==1.22.0
And numpy does not support python 3.7, but only 3.8 and above
When user tries to pip install numpy==1.22.0
Then pip install cannot find a version that satisfied the requirement numpy=1.22.0 And pip install warns user that they may should upgrade their python installation for additional available versions
And pip install fails
Describe the solution you'd like
Let's do a compare between
pip index versions
and the error message in the pip install failure (see scenario above)
And warn "additional versions are available: [ ...versions ] check your python installation and upgrade if possible" or something to that affect
Alternative Solutions
Let's do a compare between
pip index versions
and the error message in the pip install failure (see scenario above)
And warn "additional versions are available: [ ...versions ] check your python installation and upgrade if possible" or something to that affect
Additional context
Let's do a compare between
pip index versions
and the error message in the pip install failure (see scenario above)
And warn "additional versions are available: [ ...versions ] check your python installation and upgrade if possible" or something to that affect
uranusjr
changed the title
Pip Install could have better messaging/warning when installed python version cannot be used to install the target package and version
Use Requires-Python to display better messaging/warning when a package version cannot be installed
Mar 1, 2022
What's the problem this feature will solve?
Scenario (using numpy as example):
Given user has python 3.7 installed
And user wants to install numpy==1.22.0
And numpy does not support python 3.7, but only 3.8 and above
When user tries to pip install numpy==1.22.0
Then pip install cannot find a version that satisfied the requirement numpy=1.22.0
And pip install warns user that they may should upgrade their python installation for additional available versions
And pip install fails
Describe the solution you'd like
Let's do a compare between
pip index versions
and the error message in the pip install failure (see scenario above)
And warn "additional versions are available: [ ...versions ] check your python installation and upgrade if possible" or something to that affect
Alternative Solutions
Let's do a compare between
pip index versions
and the error message in the pip install failure (see scenario above)
And warn "additional versions are available: [ ...versions ] check your python installation and upgrade if possible" or something to that affect
Additional context
Let's do a compare between
pip index versions
and the error message in the pip install failure (see scenario above)
And warn "additional versions are available: [ ...versions ] check your python installation and upgrade if possible" or something to that affect
Code of Conduct
The text was updated successfully, but these errors were encountered: