5 ms·
I just posted that my default Python is 2 and I'm on 16.04.1, but I suppose the upgrade from 15.10 perhaps left the default as-is?
by 2T1Qka0rEiPr 10y ago
I just posted that my default Python is 2 and I'm on 16.04.1, but I suppose the upgrade from 15.10 perhaps left the default as-is?
- teekert 10y agoI think the fact that python points to python 2 and python3 points to python 3 does not mean one is default and the other is not. One would think so, yes, but this is a bit of difficult case, for historic reasons. Both versions will need to be present because many things depend on 2 still (ufw for one I believe), python 2 was just there first and hence earned the badge "python". To now switch to explicitly calling it python2 and calling python 3 python would break many things probably. On a clean 16.04 install, python 3 is present, python 2 is not, however, you still need to call python 3 with "python3" [0] [0] https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#Python_3 https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#Python_3 Edit: See qznc's remark on the pep, apparently it's even advised the keep "python" pointing to python 2.
- dagw 10y agoI suppose the upgrade from 15.10 perhaps left the default as-is? Yes. If you do a clean install of 16.04 then you won't python2 installed at all.