5 ms·
Does MacOS ship Python 3 by default? I've been using homebrew for so long that I forgot.
by nicbou 5y ago
Does MacOS ship Python 3 by default? I've been using homebrew for so long that I forgot.
- msoad 5y agoThey decided to not ship anything and let you download it yourself.
- metageneralist 5y agoand I like it this way
- gsnedders 5y agoThis is true, but it's also worthwhile noting that python3 is included with Xcode (or the Xcode Command Line Tools).
- nottorp 5y agoWhich you need anyway for brew/port, so most people that need a python in the command line will get it installed without noticing.
- eli 5y agoIt did as python3, but the default python was still 2.7, though it's had a deprecation warning for a bit.
- WesolyKubeczek 5y agoIt's possible there was a script lurking somewhere under /System/Library/CoreServices that might have needed Python 2. The script got rewritten/snipped off, and there you go.
- koenigdavidmj 5y agoUp until 12.3, it did. Now, it's included in the CLI tools. You know how when you run 'clang' or any of those, it's a wrapper that offers to download the real tool for you? That's how the 'python3' binary works now.
- gsnedders 5y agomacOS has never shipped with python3 by default; it's only ever been a shim like that.
- nickysielicki 5y agoIs there any chance that they’ve stopped confusing everyone by aliasing gcc to clang transparently? That’s the change I really want to see. The programs inherently accept different arguments. The amount of GitHub issues that boil down to someone thinking they’re calling GCC but calling Clang instead is staggering. Let my build fail.
- Retr0 5y agoM1 MacOS 12.2, never installed any dev tools / homebrew python --version Python 2.7.18 python3 --version xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
- drclau 5y ago% python3 --version Python 3.8.9 macOS 12.2 (Intel), Xcode 13.2.1, no homebrew, no macports
- jahewson 5y agoIt’s bundled with Xcode.
- Maursault 5y agoWhat's homebrew? I've been using macports so long, I've never heard of it.
- Synaesthesia 5y agoIt's the other big package manager for Mac OS (and Linux) other than Macports.
- Maursault 5y agoThanks, but I was trolling the shameless, senseless and topically irrelevant plug for homebrew. Get homebrew! Don't miss out! Everyone's doing it! All the hip youngsters know! Come on. ><