I can no longer install or remove any software using apt-get. When I try I get the error:
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: can't initialize sys standard streams
ImportError: No module names 'io'
I tried to reinstall python but that just brings up this error again.
I'm running Raspbian.
Update from comments:
Here is the error log: https://pastebin.com/nXmRTx03
and pip install io
gives me: https://pastebin.com/DtHqfc3n
No module names 'io'
seems to me a very grievious issue.io
is a module upon which many Python-based programs operate.pip install io
might resolve it, if pip isn't dependent uponio
.