我如何修复 cmd 上的预期缩进块

how can i fix expected indented block on cmd

我正在尝试 运行 hello.py 在 CMD 下,但是当我 运行 烧瓶时,我收到以下错误,我该如何解决?

enter image description here

您只需在 hello.py 文件中缩进 return 'Hello World!' 行。

from flask import *
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, World!'

至少应该允许它编译