7 ms·
You can install both at the same time. "Default" here refers to what is installed by by default, and what the distro internal scripts are written in. /usr/bin/
by ProblemFactory 13y ago
You can install both at the same time. "Default" here refers to what is installed by by default, and what the distro internal scripts are written in.
/usr/bin/python should remain symlinked to python2, and never python3: http://www.python.org/dev/peps/pep-0394/ http://www.python.org/dev/peps/pep-0394/
But in any case, all scripts should reference the actual required version in the #! line.
- mmastrac 13y agoThe PEP actually says "recommended" and "for the time being" -- there's no mandate that it be done one way or another: "For the time being, it is recommended that python should refer to python2 (however, some distributions have already chosen otherwise; see the Rationale and Migration Notes below)."