Or use a language that is more widely supported on more OSs without having to go through hoops.
Python 3 is not supported on Windows 7 and older anymore, for instance, starting with version 3.9 IIRC (somewhere from 3.8 to 3.10, not quite sure), and I'm sure it's not supported on many other "older" OSs anymore either.
The problem with Python is that you only have ONE implementation AFAIK. That's interestingly (but understandably) the case for most languages that are not standardized. So it's the same for Rust, Go (AFAIK), etc. That means that you are stuck with what ONE team decides, and that's it. I don't like that at all.
Sure, you can always try building Python yourself if binaries are not available for your particular environment, but there's absolutely no guarantee that it will work or that it will even build.
MSYS2 has managed to provide Python 3 binaries, compatible with Windows 7, but that did require a fricking lot of patching. Not something for the faint of heart. (Oh and unfortunately, the MSYS2 team decided to stop supporting Win 7 sometime in 2022. Didn't happen yet, but I'm expecting sometime near the end of the year.) So beyond that point, you'll be on your own.