3 ms·
macOS still ships with Py2.7 and has dependencies, and npm-gyp only recently switched to 3.x. same with python SDR. it depends what you use: less popular packag
by SoSoRoCoCo 6y ago
macOS still ships with Py2.7 and has dependencies, and npm-gyp only recently switched to 3.x. same with python SDR. it depends what you use: less popular packages are still languishing.
but that discounts the tens of thousands of projects that are already out there that are in use and need conversion.
it'll take probably 3-5 years for it to really go away.
- nl 6y agoYes, that's true. And aren't some versions of RedHat still on 2.7 too? But I class this as a packaging issue more than a 2.7 vs 3.x issue: you see the same problems with (as a random example...) different versions of OpenCV - people not using virtual environments have problems even if they are all on 3.7. When I think of the "2.x vs 3.x problems" I was thinking more of the language and core libray level incompatibilities.
- buryat 6y agomacOS ships with both py2.7 and 3.7, `python` would call 2.7, and `python3` would 3.7
- vimy 6y agoAs of macOS 11.0 there is no python anymore. You have to download it.
- SoSoRoCoCo 6y agoReally? YAY!!! I upgraded to Big Sur and it is still there... but I don't know if it is a legacy since I've been TimeMachining my machines since 2012 and things persist.
- vimy 6y agoHmm apologies, I was wrong. The Catalina release notes[1] said they would remove it and I was sure they mentioned it again in this year’s WWDC but apparently it’s still included after all. [1] “Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app.”