title: Python cannot find module
body: <p>So I've updated some of my pies. That implied that one of them, on which I had some python scripts, got demoted, and a new one arose in it's place. So I've moved my scripts.</p>
  
  <p>One script needs the pastebin module. I have taken to install pastebin. With pip.</p>
  
  <p>Now pip, says everything is installed successfully. I beg to differ. 
  Running my script I get a</p>
  
  <pre><code>ImportError: No module named pastebin
  </code></pre>
  
  <p>pip list says</p>
  
  <pre><code>Pastebin (1.1.1)
  pip (7.1.2)
  setuptools (19.1.1)
  wheel (0.26.0)
  </code></pre>
  
  <p>now, if I write pyt and double tap the tab key I see</p>
  
  <pre><code>python python2 python2.7
  </code></pre>
  
  <p>and for pip</p>
  
  <pre><code>pip pip2 pip2.7
  python --version
  </code></pre>
  
  <p>says</p>
  
  <pre><code>Python 2.7.9
  </code></pre>
  
  <p>So, where in Gods name is my module installed, and how can I get python to see it?</p>
  
  <p>Needless to say, I've reinstalled both python and pip multiple times. This is on a fresh install of raspbian.</p>
  
  <p><strong>EDIT 1</strong></p>
  
  <p>So, running </p>
  
  <pre><code>python -c "import site; print(site.getsitepackages())" 
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>['/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages'] 
  </code></pre>
  
  <p>/usr/local/lib/python2.7/dist-packages contains Pastebin. </p>
  
  <p>The other one doesn't </p>
  
  <p>Running </p>
  
  <pre><code>python -c "import sys; print(sys.path)" 
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>['', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-arm-linux-gnueabihf', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages'] 
  </code></pre>
  
  <p><strong>Edit2</strong>
  Running </p>
  
  <pre><code>help('modules') 
  </code></pre>
  
  <p>I get a list of modules which doesn't contain pastebin. And I've already installed a virtualenv for my project, in which I've installed pastebin with pip</p>