I have tried both
from flask.ext.sqlalchemy import SQLAlchemy
and
from flask_sqlalchemy import SQLAlchemy
inside flask/esk I only have a __init__.py and a __init__.pyc, and inside flask_sqlalchemy I only have _compat.py, _coompat.pyc, __init__.py and __init__.pyc. Should I copy the SQLAlchemy package in to one of these directories? I read here that ext is deprected so I'm unsure.
stack-overflow deprected flask ext
I'm getting these errors
ImportError: No module named flask_sqlalchemy
and
ImportError: No module named flask.ext.sqlalchemy
I installed with pip