LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Django on Linux Mint - Problem with software versions (https://www.linuxquestions.org/questions/linux-software-2/django-on-linux-mint-problem-with-software-versions-884051/)

dickgregory 06-01-2011 09:33 PM

Django on Linux Mint - Problem with software versions
 
I am beginning to develop a new website using Django. My development computer is running Linux Mint 10, and I will be using it also for user demos until I'm ready to deploy to another server. I try to follow the practice of installing from the recognized repos, but there seems to be a conflict.

The version of Django in the repository is 1.2.3. The Python version is 2.6.6.

So I try to set up Apache to serve up the website. The Apache version is 2.2.16.

So far everything looked good until I tried to install the python module in Apache. Everything I read says that mod-python is dead and I should be using mod-wsgi. So I went to get mod-wsgi (version 3.2-2) and it showed dependencies on python 3.1. Well, Django doesn't work yet with python 3.1.

So my question is, can I use this version of mod-wsgi with python 2.6, or am I stuck with using mod-python?

andrewthomas 06-02-2011 06:57 PM

You could use source package: mod-wsgi (2.8-2ubuntu1)

http://packages.ubuntu.com/source/lucid/mod-wsgi

to build in your environment.

It depends on python-2.6

dickgregory 06-02-2011 09:01 PM

Thanks. I've got mod-wsgi 2.8.2 installed using your info.


All times are GMT -5. The time now is 09:54 AM.