Flask 0.10 has no flask command, it was added in 0.11. If pi.py has the smarts to run your app, such as if it's using Flask-Script, the command you're looking for is:
$ python pi.py
You can install Flask-CLI to get the flask command in 0.10 if you can't upgrade to 0.11.