ImportError: Kein Modul namens 'encodings'

Ich habe Ubuntu kürzlich neu installiert und auf 16.04 aktualisiert. Ich kann Python nicht verwenden:

$ python manage.py runserver
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted

An diesem Punkt funktioniert Python selbst nicht

$ python
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted

Auch dieser Vorschlag funktioniert nicht mehr:

unset PYTHONHOME
unset PYTHONPATH

Jedes Mal, wenn ich es auf eine Weise behebe, kommt es wieder zurück. Mehrere Antworten helfen, das Problem vorübergehend zu beheben, aber nicht endgültig. Ich habe Python und Python3 mehrere Male neu installiert. Was kann ich von hier aus tun? Vielen Dan

Antworten auf die Frage(14)

Ihre Antwort auf die Frage