First we install flask pip install Flask Run command: flask --app main run * Note that main is named for main.py