After reinstalled the python3.2, I got the error as below when call py3compile:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Aborted
I know it may be the problem of missing environment variable. But I have no idea of how to fix it. I checked the env output and didn't find any PYTHONXXX variables.