-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
pip install pip
reports wrong version was installed
#4400
Comments
Thanks a lot for your reproducible steps, it works (or in this case, fails) perfectly. The issue seems to be with the
The issue does not occur without the |
I'd expect two I believe that the report of what is installed uses You could argue that |
Mmmh I'm in fact wondering if it really is a bug. |
Is there a preferred way to "downgrade" pip then? The |
You should be able to just do |
There seems to be at least one use-case where the If installing Python 3.6.1 from source, then pip 9.0.1 is available as What would be the way to re-install pip 9.0.1 so that it can be accessed using the bare That's how I wound up with |
|
Okay, thanks a lot, @dstufft. I was hoping a single command would work for both. But adding an if-statement to check if the version matches isn't so bad. |
You should be able to do Going to close this since it seems we've gotten this solved differently :) |
Er, that's |
You're right. Great! Thanks again. |
rant on |
There's lots of history if you want to read #3786 and #3792. Neither of those specifically deal with why So, my assumption is:
And as usual, (3) we're a group of volunteers with limited time and this question is way down the priority list :-) I doubt an issue for this is worth it. But if you want to raise a PR, that would be OK I guess (but make sure you handle the backward compatibility questions, and corner cases like |
Thanks for links to issues. I'm following pip for a few years now so it's not like I'm not aware of its complicated history. That suggesting to pass
I suspected this would be the answer. As sad as it is I take it as a firm sign of where this project is in terms of user experience. Are you aware of what signal does it send to users? Imagine telling to the new user something like: Yes, passing
I'm still curious why paradoxically |
FWIW I was also suprised by the |
I agree - it seems like a good idea for |
Btw, I find the name of this option mouthful. I think either |
Thanks all for the discussion and for raising the suggestion, @piotr-dobrogost. I came back here to ask / suggest the same thing -- about whether A couple points to add: With this change, the naming issue of By the way, @piotr-dobrogost, just to clarify: when I said "great" I was thanking Donald for his replies and not suggesting that the "UI" is great. I will open an issue for this unless someone beats me to it. |
Oh, this has already been filed as issue #1139. |
FYI, I added a PR with tests for the |
Description:
When installing a different version of pip, pip reports that a different version was installed.
To reproduce:
The line above should say that pip-9.0.0 was installed.
This was previously reported for pip 8.1.2 / Python 2.7.12+ in issue #4250.
The text was updated successfully, but these errors were encountered: