title: ImportError: No module named qgis.core ubuntu 16.04 python 2.7 qgis 2.16.2
body: <p>I keep getting this error in python from trying to call qgis from a script.</p>
  
  <p>The code is:</p>
  
  <pre><code>from qgis.core import *
  from qgis.analysis import *
  </code></pre>
  
  <p>I have read every posting on SO about this;  wiped QGIS and reinstalled.  Reset my PYTHON_PATH and QGIS_PREFIX variables to the correct directory.  I've also checked the dependencies via <code>dpkg -l | grep qgis</code>and all of my dependencies are the xenial version.</p>
  
  <p>Any other suggestions?</p>