title: uWSGI says: "ImportError: No module named wsgi"
body: <p>When uWSGI starts, it writes</p>
  
  <pre><code>"ImportError: No module named wsgi"
  </code></pre>
  
  <p>My uwsgi.xml</p>
  
  <pre><code>&lt;!-- UWSGI XML Configuration File --&gt;
  &lt;uwsgi&gt;
      &lt;uid&gt;quux&lt;/uid&gt;
      &lt;gid&gt;quux&lt;/gid&gt;
  
      &lt;chdir&gt;/var/www&lt;/chdir&gt;
      &lt;!-- &lt;socket&gt;/var/www/uwsgi.sock&lt;/socket&gt; --&gt;
      &lt;socket&gt;127.0.0.1:8012&lt;/socket&gt;
  
      &lt;!-- &lt;home&gt;/home/klen/Projects/klen.github.com/_code/uwsgi/.virtualenv&lt;/home&gt; --&gt;
  
      &lt;plugins&gt;python&lt;/plugins&gt;
      &lt;pythonpath&gt;/var/www/&lt;/pythonpath&gt;
      &lt;module&gt;wsgi&lt;/module&gt;
      &lt;env&gt;/usr/bin/python&lt;/env&gt;
  
      &lt;processes&gt;2&lt;/processes&gt;
      &lt;max-requests&gt;5000&lt;/max-requests&gt;
      &lt;buffer-size&gt;32768&lt;/buffer-size&gt;
      &lt;harakiri&gt;30&lt;/harakiri&gt;
      &lt;reload-mercy&gt;8&lt;/reload-mercy&gt;
      &lt;master /&gt;
      &lt;no-orphans /&gt;
  
  &lt;/uwsgi&gt;
  </code></pre>
  
  <p>Server replies to browser:</p>
  
  <pre><code>"uWSGI Error
  
  Python application not found"
  </code></pre>
  
  <p>and puts </p>
  
  <pre><code>"[pid: 7529|app: -1|req: -1/1] 178.132.203.33 () {46 vars in 797 bytes} [Mon Mar 26 00:56:53 2012] GET /index.py =&gt; generated 48 bytes in 0 msecs (HTTP/1.0 500) 2 headers in 63 bytes (0 switches on core 0)"
  </code></pre>
  
  <p>in it's log file.</p>
  
  <p>I think I need to install wsgi module for uWSGI as it writes "ImportError: No module named wsgi". How can I check if this module is installed?</p>