from flask import Flask, render_template,redirect,
session,url_for,request
from flask_mysqldb import MYSQl
app = Flask(__name__)
app.secret_key="12345678"
app.config["MYSQL_HOST"] = "localhost"
app.config["MYSQL_USER"]="root"
app.config["MYSQL_PASSWORD"]="123457"
app.config["MYSQL_DB"] = "management"
db = MYSQL(app)
我安装了mysql。但是当我在python中运行它给出错误我如何删除flask_mysqldb的导入错误。在第二个快照中显示导入错误,而库已经安装。在第三个快照中,这是安装了flask mysqldb的快照