I am trying to deploy python-flask app through pythonanywhere.com. However, it gives me an error saying No module named flaskext.mysql even though it worked when I tested with localhost.
from flask import Flask, render_template, json, request,redirect,session from flaskext.mysql import MySQL from werkzeug import generate_password_hash, check_password_hash mysql = MySQL() app = Flask(__name__) app.secret_key = 'why would I tell you my secret key?'
I of course installed pip install flask and pip install flask-mysql and from flask_mysql import MySQL. I tried all that I can T.T I am using python3.4. I can't find the reason..Please help help!