Unknown code: GB18030

The Linux installation of Python 3.5.2 encountered the following error
Could not find platform dependent libraries < exec_prefix>
Consider setting $PYTHONHOME to < prefix> [:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: unknown encoding: GB18030
 
Solution:
Before the web.config
Export LANG= zh_cn.utf-8
export LANGUAGE= zh_cn.utf-8

Read More: