How to Solve NameError: name 'Local' is not defined -- werkzeug

Solution: Import the 'Local' module

# Add the following line to the top of your code
from werkzeug import Local

 

For more information:
werkzeug Local