down votefavorite 

I'm running a django server on httpd service. I had to upgrade my python 
version(2.7.12). After installing the new python I rebuild the mod_wsgi 
with the new python (using with-python argument). I also rebuild the 
mod_python with the new python version. My new python path is 
/usr/local/bin/python2.7. In the /etc/httpd/conf.d/django.conf I added the 
following line : WSGIPythonHome /usr/local.

However I see this error in my error_log file (httpd error log):

[Tue Sep 20 12:32:12.743338 2016] [:warn] [pid 8567:tid 139972130834496]    
mod_wsgi: Compiled for Python/2.7.12. [Tue Sep 20 12:32:12.743376 2016] [:warn] 
[pid 8567:tid 139972130834496]    mod_wsgi: Runtime using Python/2.7.5.

What i'm missing ?

FYI : I cannot change or redirect the default python that exists in 
/usr/bin/python because this affect centos package management.

You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to