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