title: Using Mako In Windows
body: <p>I plan to use wsgi + mako in Windows.</p>
  
  <p>I install mako using </p>
  
  <pre><code>C:\wsgi&gt;c:\Python26\Scripts\easy_install.exe Mako
  </code></pre>
  
  <p>No error. I get</p>
  
  <pre><code>Finished processing dependencies for Mako
  </code></pre>
  
  <p>at end of the message.</p>
  
  <p>I check my Python directory, I am having the following structure :</p>
  
  <pre><code>C:\Python26\Lib\site-packages\mako-0.2.5-py2.6.egg
  C:\Python26\Lib\site-packages\mako-0.2.5-py2.6.egg\EGG-INFO
  C:\Python26\Lib\site-packages\mako-0.2.5-py2.6.egg\mako
  C:\Python26\Lib\site-packages\mako-0.2.5-py2.6.egg\mako\ext
  </code></pre>
  
  <p>I run the following code HelloWorld.py</p>
  
  <pre><code>from mako.template import Template
  
  def application(environ, start_response):
      status = '200 OK'
  
      mytemplate = Template("hello, ${name}!")
      output = mytemplate.render(name="jack")
  
      response_headers = [('Content-type', 'text/plain'),
                          ('Content-Length', str(len(output)))]
      start_response(status, response_headers)
  
      return [output]
  </code></pre>
  
  <p>I get the following error log :</p>
  
  <pre><code>[Fri Feb 05 16:11:19 2010] [error] [client 127.0.0.1]   File "C:/wsgi/HelloWorld.py", line 1, in &lt;module&gt;
  [Fri Feb 05 16:11:19 2010] [error] [client 127.0.0.1]     from mako.template import Template
  [Fri Feb 05 16:11:19 2010] [error] [client 127.0.0.1] ImportError: No module named mako.template
  </code></pre>
  
  <p>Any advice?</p>