by ameliaquining · 4mo ago · 0 comments
> The net effect is that on Linux and macOS, you can't "download a Python binary" from... anywhere. Other than the python-build-standalone project.
Are you sure this is right about macOS? I just had a look inside the macOS installer from python.org and there are definitely some binaries in there.
(That said, I've rarely used it, preferring either the macOS/Xcode-provided Python or these self-contained Pythons which I use via uv.)
> (The notable exception here is that Linux distros _can_ support, e.g., `apt install python3` and ship a binary, because IIUC they can rely on standardized system paths.)
Of course, there are lots of use cases where that doesn't suffice, such as, for example, if you care what Python version you're using.
EDIT: actually no, I think charlie is wrong on that point, he said the installers compile python but that only happens with python-build-based installers like pyenv. still, the fact those binaries lack portability is the real problem.