4 ms·
`pip` is dictated by your OS, so you've probably got python2 set as your default python.
by dkuntz2 9y ago
`pip` is dictated by your OS, so you've probably got python2 set as your default python.
- int_19h 9y agoPython itself has established the convention that the "python" binary is always 2.x, and "python3" is 3.x. Even if Python 2 is not installed at all. This naturally translated to other tools.
- y7 9y agoI don't think this is necessarily true? It used to be, but I sometimes see "python" being Python 3 and "python2" being Python 2.
- int_19h 9y agoIt's a PEP. https://www.python.org/dev/peps/pep-0394/ https://www.python.org/dev/peps/pep-0394/ The long-term plan is to make "python" version-agnostic. But for the time being, it is acknowledged that compatibility with Py2 is too important to do it just yet.
- garaetjjte 9y agoArch Linux is significant exception.