How to Solve NameError: name 'Manager' is not defined -- flask_script
Solution: Import the 'Manager' module
To Solve the error, add the following line to the top of your code.
from flask_script import Manager
For more information:
Python flask_script Manager