Difference between revisions of "Setting up to Use Flask"

From PeformIQ Wiki
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 09:07, 29 March 2014

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