Werkzeug requires at least Python 2.4 to work correctly.
You can install the most recent Werkzeug version using easy_install:
sudo easy_install Werkzeug
This will install a Werkzeug egg in your Python installation’s site-packages directory.
Note that the last command will automatically download and install setuptools if you don’t already have it installed. This requires a working Internet connection.
This will install Werkzeug into your Python installation’s site-packages directory.
sudo easy_install Werkzeug==dev
This will install a Werkzeug egg containing the latest mercurial tip in your Python installation’s site-packages directory. Every time the command is run, the sources are updated from the mercurial repository.
However we strongly recommend cloning the repository and linking it instead as explained in the step before.