flask run でコマンドありませんよ的なエラーになったときにやってみること Python

Power Shell で実行したときのエラー

> flask run    
flask: The term 'flask' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.


OKパターン

> python -m flask run