Table Of Contents

Downloading and Installing TurboGears







Method Two: Using tgsetup (the TG 1.0 way)

There are only two steps necessary to install TurboGears, if you already have Python installed and you are ok with installing TurboGears and its dependencies into the system-wide Python site-packages directory. If you don’t have Python installed on your system (or are not sure about it), please visit the Python website.

  1. Download the script.

  2. Run the script from the command-line:

    $ [sudo] python


Method Three: Using setuptools (without virtualenv)

If you have setuptools already installed and don’t want to use virtualenv but install TurboGears and its dependencies directly into your site-packages directory, you can do it as follows:

$ easy_install -i TurboGears

Installing an older version of TurboGears is always possible since we keep all our files online. To install a specific version of TurboGears run a command line similar to this one:

$ easy_install -i TurboGears==1.5.x


$ wget
$ python

Installing a Database Module



$ easy_install SQLAlchemy


$ easy_install SQLObject


  • Windows, Mac OS X or Linux/Unix
  • Python >= 2.4, < 3.x
  • An internet connection
  • (Recommended) A database system (see above)


The recommended Python version to use with TurboGears 1.5 currently is 2.6, but we still support Python 2.4, 2.5 and also support Python 2.7. TurboGears does not support Python 3.x yet.