i'm very new to python and ubuntu. Recently i was trying to run apt-get upgrade and i got this error.SyntaxError: Non-ASCII character '\xc2' in file /usr/bin/py3clean on line 4, but no encoding declared; actually there are more lines after that they all say the same thing about the encoding.i've search and i came across this same issue here and i followed it.when i try python --version and python3 --version the result is alwaysPython 2.7.6when i try ls -la /usr/bin/python3This is the resultlrwxrwxrwx 1 root root 9 Jul  5 19:14 /usr/bin/python3 -> python3.4 And when i type ls -la /usr/bin/pythonthis is the resultlrwxrwxrwx 1 root root 9 Jul  5 19:14 /usr/bin/python -> python2.7However the encoding for both python and python3 is always ascii./usr/bin/python2 -c 'import sys; print(sys.getdefaultencoding())'ascii/usr/bin/python3 -c 'import sys; print(sys.getdefaultencoding())'asciii read the links in the question but they didn't discuss the fix. I am really new to python and ubuntu please walk me through the solution and forgive me if i will be slow on the uptake. thank you.
can't use apt due to encoding issue
ubuntu;apt;python;python3