Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My Ubuntu server has this version installed:

# dpkg -l | grep wsgi
ii  libapache2-mod-wsgi  2.8-2ubuntu1  Python WSGI adapter module for Apache

How can I get the latest Version 3.3?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

Download and compile it. There is a pretty good README in their source package. But you can start by installing build-essential the basic system for compiling, then just follow the README

share|improve this answer
Make sure to disable mod_wsgi before you install the newer version 3.3. My Apache crashed with error seg fault or similar nasty error detected in the parent process. –  David Xia Feb 25 '12 at 18:13

sudo apt-get build-dep libapache2-mod-wsgi

And then you can build from source reading the readme

share|improve this answer

Debian has libapache2-mod-wsgi, but this won't work on Ubuntu 10.04 because it depends on libpython2.7 for which there's no package for 10.04.

I downloaded the source from here:

$ wget http://modwsgi.googlecode.com/files/mod_wsgi-3.3.tar.gz

Then just

sudo make install
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.