title: ImportError: No module named mako
body: <p>I have installed of python in 2 different location. I have opened two terminals setting environment variable such a way that each terminal finds a different python installation:</p>
  
  <pre><code>TERM1$which python
  /A/python
  
  TERM2$which python
  /B/python
  </code></pre>
  
  <p>Later, I installed <code>Mako</code> using one of the installations (I don't remember which one). I installed mako locally using:</p>
  
  <pre><code>python setup.py install --user
  </code></pre>
  
  <p>My understanding was that, the module will go to the PATH given by:</p>
  
  <pre><code>$python -c 'import site; print site.USER_SITE'
  /home/.../.local/lib/python2.7/site-packages
  </code></pre>
  
  <p>which points to the same location in my <code>/home</code> if I run the above command from <em>either</em> of the terminals. 
  The problem is that if I run :</p>
  
  <pre><code>python -c 'import mako'
  </code></pre>
  
  <p>one of the terminals is OK but the other one gives error:</p>
  
  <pre><code>ImportError: No module named mako
  </code></pre>
  
  <p>Most probably, the search path is different from one terminal(env) to another. But I don't know what to check!</p>