This part of the documentation covers the installation of Flask-WTF. The first step to using any software package is getting it properly installed.
Installing Flask-WTF is simple with pip:
$ pip install Flask-WTF
or, with easy_install:
$ easy_install Flask-WTF
But, you really shouldn’t do that.
If the Cheeseshop is down, you can also install Flask-WTF from one of the mirrors. Crate.io is one of them:
$ pip install -i http://simple.crate.io/ Flask-WTF
Flask-WTF is actively developed on GitHub, where the code is always available.
You can either clone the public repository:
git clone git://github.com/ajford/flask-wtf.git
Download the tarball:
$ curl -OL https://github.com/ajford/flask-wtf/tarball/master
Or, download the zipball:
$ curl -OL https://github.com/ajford/flask-wtf/zipball/master
Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily:
$ python setup.py install