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?
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?
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
seg fault or similar nasty error detected in the parent process
.
Feb 25, 2012 at 18:13
sudo apt-get build-dep libapache2-mod-wsgi
And then you can build from source reading the readme
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
./configure
make
sudo make install
What worked for me was running this :
sudo aptitude install libapache2-mod-wsgi
I had mod_wsgi installed for python 2.7. I ran the below command to uninstall 2.7 and install 3.6 (my python version).
sudo apt-get install libapache2-mod-wsgi