This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: pip.exe is missing from the NuGet package
Type: enhancement Stage:
Components: Windows Versions: Python 3.9
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: eryksun, gipetrou, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2021-03-19 05:53 by gipetrou, last changed 2022-04-11 14:59 by admin.

Messages (3)
msg389055 - (view) Author: Georgios Petrou (gipetrou) Date: 2021-03-19 05:53
When downloading a package from the pip.exe is not included. As far as I understand, the recommended way to use pip from a script is to call it from subprocess. Would it be possible to include the exe in the package?
msg389117 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-03-19 21:38
Unfortunately not, because we don't know where it will be installed to, and that executable embeds the full path to its matching python.exe.

I suggest running "python.exe -m pip" instead.
msg389119 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2021-03-19 22:18
I suppose if you really need a plain `pip` command, you could reinstall with `python.exe -m pip install --force-reinstall pip`.
Date User Action Args
2022-04-11 14:59:43adminsetgithub: 87716
2021-03-19 22:18:51eryksunsetnosy: + eryksun
messages: + msg389119
2021-03-19 21:38:05steve.dowersetmessages: + msg389117
2021-03-19 05:53:05gipetroucreate