Hi I am trying to run a python file that has :
from flask import Flask, render_template, json, request
from flask.ext.mysql import MySQL
from werkzeug import
Here is the official Flask-MySQL documentation: https://flask-mysql.readthedocs.org/en/latest/# You'll find that the current import syntax is as follows:
from flaskext.mysql import MySQL
First from flaskext.mysql import MySQL
worked then pip install Flask-MySQL
also worked finally... it was driving me nuts! I had taken to many routes to fix it.