Python 3 Distro Defaults

Discussions center on whether Python 3 is installed by default on Linux distributions, macOS, and other systems versus Python 2, reasons for sticking with older versions to avoid breaking system scripts, and methods like pyenv for managing versions.

πŸ“‰ Falling 0.4x Programming Languages
2,315
Comments
19
Years Active
5
Top Authors
#4769
Topic ID

Activity Over Time

2008
8
2009
18
2010
78
2011
55
2012
89
2013
109
2014
104
2015
90
2016
111
2017
202
2018
200
2019
216
2020
193
2021
232
2022
172
2023
149
2024
161
2025
127
2026
1

Keywords

IT PATH OSX HN RHEL RH apple.com NDIS SLES OOTB python python3 python python packages default version rhel installed distros install

Sample Comments

the_af β€’ Jun 14, 2017 β€’ View on HN

Isn't Python 3 installed by default on most distros, as well as Python 2?

bombolo β€’ Sep 2, 2023 β€’ View on HN

But python is already installed on most linux systems

loeg β€’ Jan 28, 2022 β€’ View on HN

Neither - Python 3 will not be included out of the box, either.

detaro β€’ Jun 26, 2020 β€’ View on HN

Is pyenv and the Python 3 it wants to use in official/supported packages? If not, it doesn't exist for many IT departments in such cases.

sp332 β€’ May 20, 2016 β€’ View on HN

Python 2 and python 3 are not the same language. There are big breaking changes between them. Most distros kept "python" pointing at python 2 to avoid breaking old scripts. If you want Python 3, you have to ask for it.

divbzero β€’ Mar 25, 2024 β€’ View on HN

Some Linux distros don’t have the latest Python versions in their package repos, but there are definitely other ways to install versions side-by-side.

gshulegaard β€’ Jul 27, 2017 β€’ View on HN

Given that many popular distros still have Python 2.7 or older as their default, this seems unwise.

jsymolon β€’ Aug 1, 2019 β€’ View on HN

Wanted to use Python 3 for some processing but the Sysadmin said that only Python 2 was available for that distributions version and "didn't want to frankenstein the box"

jwilk β€’ Sep 14, 2017 β€’ View on HN

Making /usr/bin/python point to Python 3 doesn't sound very vanilla to me.

dheera β€’ Dec 31, 2020 β€’ View on HN

Why isn't Ubuntu shipping it as the default python?