已经安装了flask,为什么提示找不到flask呢?(已安装 flask 3.0.0,宝塔面板8.0.5,通过网站-python项目添加的)Traceback (most recent call last):
File "app.py", line 1, in <module>
from flask import Flask
ModuleNotFoundError: No module named 'flask'
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello_world():
return "<p>Hello, World!</p>"
|
|