Linux: all commands return Fatal Python error: Py_Initialize: Unable to get the locale encoding -
i messing around path variables , after putting following 3 commands, every shell command execute return fatal python error: export pythonpath=$pythonpath:z3/bin export path=$path:z3/bin export pythonpath=$pythonpath:/usr/lib/python2.7 error message: fatal python error: py_initialize: unable locale encoding file "/usr/lib/python2.7/encodings/ init .py", line 123 raise codecregistryerror,\ ^ syntaxerror: invalid syntax aborted does how can fix this? running ubuntu 14.04.