Issue 22295: Clarify available commands for package installation (original) (raw)

Created on 2014-08-28 20:49 by ncoghlan, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 24003 open nnnnnn,2022-02-12 20:53
Messages (5)
msg226042 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2014-08-28 20:49
https://docs.python.org/3/installing/index.html is too subtle in pointing out the command in a source build or system Python on POSIX is "pip3" or "pip3.4" rather than the unadorned "pip". At least one example should show pip3, and it's likely worth having an explanation in the last section on building from source.
msg226044 - (view) Author: Donald Stufft (dstufft) * (Python committer) Date: 2014-08-28 21:32
If you want to be completely unambiguous, python -m pip works as well.
msg226051 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2014-08-29 04:35
Yes, that came up on Twitter as well (where this conversation started). I think that's the best way to go - it's the only invocation that works *everywhere*, regardless of how your Python instance got installed.
msg226481 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-09-06 10:40
New changeset e8447da8791d by Nick Coghlan in branch '3.4': Issue #22295: Adopt 'python -m pip' as the preferred invocation http://hg.python.org/cpython/rev/e8447da8791d New changeset a969b42e6e2b by Nick Coghlan in branch 'default': Merge issue #22295 fix from 3.4 http://hg.python.org/cpython/rev/a969b42e6e2b
msg226482 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2014-09-06 10:42
Switched to "python -m pip". To deal with "python3" vs "python" parallel system installs, I made the assumption that folks are using virtual environments explicitly, rather than diving into the arcana associated with using pip in conjunction with a system Python installation.
History
Date User Action Args
2022-04-11 14:58:07 admin set github: 66491
2022-02-12 20:53:52 nnnnnn set nosy: + nnnnnnpull_requests: + <pull%5Frequest29462>
2014-09-06 10:42:54 ncoghlan set status: open -> closedversions: + Python 3.4, Python 3.5messages: + resolution: fixedstage: resolved
2014-09-06 10:40:19 python-dev set nosy: + python-devmessages: +
2014-08-29 04:35:45 ncoghlan set messages: +
2014-08-28 21:32:43 dstufft set nosy: + dstufftmessages: +
2014-08-28 20:49:05 ncoghlan create