Setting up to Use Flask

From PeformIQ Upgrade
Revision as of 08:14, 29 March 2014 by PeterHarding (talk | contribs)
Jump to navigation Jump to search

I have just migrated a couple of my Flask experiments onto a new system. Here are the things that cropped up:

Basic Setup

 pip install Flask
 pip install SQLAlchemy --upgrade


Errors

Once I had installed Flask and SQLAlchemy I checked out a couple of my projects and attempted to run them Here are some of the extra requirements I encountered.

Error

ImportError: No module named flask.ext.sqlalchemy

Resolution

pip install Flask-SQLAlchemy


Error

ImportError: No module named flask.ext.login

Resolution

sudo pip install Flask-Security


Error

Resolution

Error

Resolution