$ apt-get update
$ sudo apt-get install python-pip python-dev build-essential $ sudo pip install --upgrade pip $ sudo pip install --upgrade virtualenv
$ mkdir flask_project $ cd flask_project $ virtualenv venv
$ . venv/bin/activate
$ pip install Flask
$ easy_install pip $ pip install pyyaml
$ python -c "import werkzeug"
$ echo $?