title: ImportError: no module named mako.template
body: <p>This line of code in my foobar.py file:</p>
  
  <pre><code>from mako.template import *
  </code></pre>
  
  <p>results in an</p>
  
  <blockquote>
    <p>ImportError: No module named mako.template</p>
  </blockquote>
  
  <p>How can I fix this? Both <code>help('modules')</code> and <code>repr(mako)</code> in my Python console assures me that the mako module is installed and available.</p>
  
  <p>I'm on a Mac by the way, running Python 2.6 for this particular project.</p>
  
  <p><strong>As requested, this is the output from running <em>pip freeze</em></strong></p>
  
  <ul>
  <li>Mako==0.8.1</li>
  <li>MarkupSafe==0.18</li>
  <li>PyYAML==3.10</li>
  <li>wsgiref==0.1.2</li>
  </ul>
  
  <p><strong>As requested, this is my sys.path</strong></p>
  
  <p>['', '/Users/username/env/myProject/lib/python26.zip', '/Users/username/env/myProject/lib/python2.6', '/Users/username/env/myProject/lib/python2.6/plat-darwin', '/Users/username/env/myProject/lib/python2.6/plat-mac', '/Users/username/env/myProject/lib/python2.6/plat-mac/lib-scriptpackages', '/Users/username/env/myProject/Extras/lib/python', '/Users/username/env/myProject/lib/python2.6/lib-tk', '/Users/username/env/myProject/lib/python2.6/lib-old', '/Users/username/env/myProject/lib/python2.6/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages', '/Users/username/env/myProject/lib/python2.6/site-packages']</p>