Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I fix Python version mismatch of Apache mod_wsgi?

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?

like image 355
Burak Avatar asked May 22 '26 15:05

Burak


1 Answers

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

like image 147
Burak Avatar answered May 25 '26 05:05

Burak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!