Python isn't installed on Windows, the pre-installed python version on macOS is stuck at 2.7.10.
ninja isn't installed on macOS and Windows, and both systems require to first install a package manager before installing ninja, or compile ninja from scratch.