There are two packages:
- libapache2-mod-wsgi for Python 2.X
- libapache2-mod-wsgi-py3 for Python 3.X

As Graham said, the 2.X version includes binaries for both 2.6 and 2.7
versions of Python, 2.6 gets installed as a dependency. But after
installing this package, configured WSGI applications use the default
i.e. 2.7.1 version of Python.

- Safdar

On May 28, 3:44 am, Graham Dumpleton <[email protected]>
wrote:
> From what I heard, the Ubuntu folks were at one point shipping a
> single mod_wsgi package that included binaries for multiple Python
> versions. Thus you would see Python 2.6, 2.? and 3.1 versions of
> Python get installed as a dependency. If that is correct, may be more
> of the same.
>
> Graham
>
> On 28 May 2011 04:42, Joonas Lehtolahti <[email protected]> wrote:
>
>
>
>
>
>
>
> > I wondered the same. Seems like Ubuntu maintainers went lazy or something
> > with it. I have manually built mod_wsgi from source using the system's
> > Python 2.7.1 and it works fine in Ubuntu 11.04 server edition (64-bit)
>
> > On Fri, 27 May 2011 21:37:02 +0300, Safdar Iqbal <[email protected]>
> > wrote:
>
> >> In Ubuntu 11.04, the default Python is 2.7.1 - so I expected the
> >> libapache2-mod-wsgi package to use that. But when I install this
> >> package it requires Python 2.6. If support for Python 2.7 [1] has been
> >> added to the package, why does it sill require Python 2.6?
>
> >> - Safdar
>
> >> [1]
> >>http://bazaar.launchpad.net/~james-page/ubuntu/natty/mod-wsgi/fix-749...
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "modwsgi" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/modwsgi?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to