用pip $ pip install -U Flask-WTF 看熊哥的后端管理系统时候报错ImportError: cannot import name FlaskForm。 那一行的代码:from flask_wtf import FlaskForm 升级了这个Flask_WTF之后错误消失。