title: How do I delete mod_python?
body: <p>I keep getting these errors in my Apache logs:</p>
  
  <pre><code>[error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6'.
  [error] python_init: Python executable found '/usr/bin/python'.
  [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
  [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
  [notice] mod_python: using mutex_directory /tmp 
  </code></pre>
  
  <p>From what I've read, these errors come from mod_python. I'm using Flask and WSGI for my Python project, however, so I don't know why these errors are coming up.</p>
  
  <p>Is there an easy way I can delete mod_python? - I've tried a2dismod, but mod_python doesn't appear to exist, even though I see it within Apache's mods-available directory.</p>
  
  <p><strong>EDIT:</strong> I've just tried a2dismod python, and that seems to have worked. I think I n00bishly was trying to disable mod_python. My Python apps still appear to work just fine.</p>
  
  <p>Thanks in advance!</p>