Version 1 (modified by Praneeth Bodduluri, 12 years ago) ( diff )


Using the Python virtualenv

Install Python virtualenv

On linux install the virtualenv package using your package manager.


aptitude install python-virtualenv


  1. Install setup tools from
  2. Use easy_install to install virtualenv
    easy_install virtualenv

Using virtualenv

  1. Create a new virtualenv for your application
virtualenv dependencydirectory

The above creates a directory called dependencydirectory and initializes a new virtualenv inside it.

  1. Activate the virtualenv

On Linux/MacOSX/*ix:

source dependecydirectory/bin/activate

On Windows:


Note: Steps 4 works only after step 2 has been executed in the current terminal.

  1. Download the required web2py version and place eden in the applications directory.
  1. Use the requirements.txt in the eden directory to install the dependencies
pip install -U -r requirements.txt
  1. Run web2py for development within this environment.

Using a virtualenv with apache/mod_wsgi

Append the following to WSGIDaemonProcess in the config:


Note: In the line above change python2.6 to your python version and the directory to match your directory

Note: See TracWiki for help on using the wiki.