[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
baterflyrity added the comment: OK, ive caught the salt of ensurepip. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45148] ensurepip upgrade fails

2021-09-09 Thread Paul Moore
Paul Moore added the comment: > I don't know technical details but i can successfully use this command: `pip > install --upgrade pip`. On Windows (and not under something like cygwin or msys, which have their own rules)? Anyway, it's not that important, the recommended approach is `python

[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
baterflyrity added the comment: >> You are wrong. Windows lets me update pip via pip. > >You have misinterpreted what you are seeing. I don't know technical details but i can successfully use this command: `pip install --upgrade pip`. >No, you should follow the correct process and use

[issue45148] ensurepip upgrade fails

2021-09-09 Thread Paul Moore
Paul Moore added the comment: > You are wrong. Windows lets me update pip via pip. You have misinterpreted what you are seeing. > Should i create new issue for this? No, you should follow the correct process and use `python -m pip`, and not use pip directly. --

[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
baterflyrity added the comment: > Note the comment "to the bundled version". Thanks. Have not knew. > 1. You must *not* use the pip executable, you must use `python -m pip`, as > the command will be upgrading the pip executable and Windows won't let you > upgrade an executable you are

[issue45148] ensurepip upgrade fails

2021-09-09 Thread Paul Moore
Change by Paul Moore : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45148] ensurepip upgrade fails

2021-09-09 Thread Paul Moore
Paul Moore added the comment: >From the documentation: > upgrade indicates whether or not to upgrade an existing installation of an > earlier version of pip to the bundled version. Note the comment "to the bundled version". This command will not access the internet (also noted in the

[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
baterflyrity added the comment: See also: https://github.com/pypa/pip/issues/10453 -- ___ Python tracker ___ ___ Python-bugs-list

[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
New submission from baterflyrity : Upgrading pip via ensurepip unfortunately doesn't do anything wealthy. ```bash user@host MINGW64 ~ $ pip list | grep pip pip 21.2.3 WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available. You should consider