Difference between revisions of "Setting up to Use Flask"
Jump to navigation
Jump to search
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...") |
PeterHarding (talk | contribs) |
||
Line 12: | Line 12: | ||
==Error== | ==Error== | ||
ImportError: No module named flask.ext.sqlalchemy | |||
==Resolution== | ==Resolution== | ||
pip install Flask-SQLAlchemy | |||
==Error== | |||
ImportError: No module named flask.ext.login | |||
==Resolution== | ==Resolution== | ||
sudo pip install Flask-Security | |||
==Error== | ==Error== | ||
==Resolution== | |||
==Error== | ==Error== | ||
==Resolution== | |||
[[Category:Flask]] | |||
[[Category:Python]] | |||
[[Category:Web Development]] |
Revision as of 09:14, 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
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