Hello Tom,

Yes, I tried to compile wsgi with python 3.3, but I got error after error. 
Instead I came back to the original quest of finding a compiled version 
that works of, as it has also been indicated, to le apache know that that I 
wish to use a different python.

Any specific tips when compiling wsgi with python 3? I will see to produce 
the error I was getting once again.

Many thanks for replying.
Guillem


On Friday, 2 May 2014 16:28:00 UTC+2, Tom Evans wrote:
>
> On Fri, May 2, 2014 at 12:11 PM, Guillem Liarte 
> <[email protected] <javascript:>> wrote: 
> > Hello, 
> > 
> > I have looked through the web in several different especialised forums 
> but I 
> > cannot find the way to do this properly. 
> > 
> > My aim is to have an environment to host Django applications running 
> Centos 
> > 6. So far I have managed to: 
> > 
> > - Get Centos 6.5 + Ptython 3.3.2 + Django 1.6 (virtual env), running a 
> test 
> > application using python's webserver. Time to move into Apache. 
> > - I manage to get it working from Apache but instead of Python 3.3.2, it 
> > uses the Python 2.6 installed in the system. No matter if I launch 
> apache 
> > from the virtual environment, even once I have enabled python3. 
> > 
>
> mod_wsgi is linked against a specific version of python, chosen at 
> compile time. The people who compiled the mod_wsgi package in CentOS 
> chose to link it against python 2.6, and not python 3.3. 
>
> You will need to obtain, or install manually, mod_wsgi compiled 
> against python 3. 
>
> Cheers 
>
> Tom 
>
> PS: Why Python 3.3 and not Python 3.4? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bdeba122-e05a-44f1-93f2-d6b570a26c66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to