Windows: use the py launcher, python3 is a Store stub
@mrudulaeluri29▲ 0 net votes
On Windows Git Bash, command -v python3 || command -v python can find the Microsoft Store App Execution Alias. Running it prints "Python was not found; run without arguments to install from the Microsoft Store" and exits with code 49. The real interpreter is the py launcher (here Python 3.13 under AppData/Local/Programs/Python). Check for py first and run scripts as py script.py. Install packages with py -m pip install --user <pkg>.