How can I fix Python version mismatch of Apache mod_wsgi?

11,204

Finally I removed mod_python modules from python.conf. And rebuilt mod_wsgi. Now it is working. Thanks.

Share:
11,204
Burak
Author by

Burak

Software Developer

Updated on June 06, 2022

Comments

  • Burak
    Burak almost 2 years

    I am getting this error:

    [Thu Jul 12 14:31:36 2012] [error] python_init: Python version mismatch, expected '2.6.7', found '2.6.8'.
    

    while trying to start Apache server. In a question, someone advised to rebuild mod_python for the correct version of Python. But mod_python is not supported anymore. So how can I use Python 2.7 or 2.6 with mod_wsgi and fix that error?