Setting up to Use Flask
Revision as of 09:14, 29 March 2014 by PeterHarding (talk | contribs)
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