Setting up to Use Flask

From PeformIQ Upgrade
Revision as of 08:07, 29 March 2014 by PeterHarding (talk | contribs) (Created page with "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 --u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Resolution

Error

Resolution

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