title: ImportError: No module named 'encodings'
body: <p>I recently reinstalled ubuntu and did upgrade to 16.04 and cannot use python:</p>
  <pre><code>$ python manage.py runserver
  Could not find platform independent libraries &lt;prefix&gt;
  Could not find platform dependent libraries &lt;exec_prefix&gt;
  Consider setting $PYTHONHOME to &lt;prefix&gt;[:&lt;exec_prefix&gt;]
  Fatal Python error: Py_Initialize: Unable to get the locale encoding
  ImportError: No module named 'encodings'
  Aborted
  </code></pre>
  <p>At this point, python itself doesn't work</p>
  <pre><code>$ python
  Could not find platform independent libraries &lt;prefix&gt;
  Could not find platform dependent libraries &lt;exec_prefix&gt;
  Consider setting $PYTHONHOME to &lt;prefix&gt;[:&lt;exec_prefix&gt;]
  Fatal Python error: Py_Initialize: Unable to get the locale encoding
  ImportError: No module named 'encodings'
  Aborted
  </code></pre>
  <p>Even this suggestion is no longer working:</p>
  <pre><code>unset PYTHONHOME
  unset PYTHONPATH
  </code></pre>
  <p>Every every I fix it one way, it comes back again. Several answers help to fix it temporarily, but not for good. I have reinstalled python and python3 several times. What can I do from here?</p>