When using gdb to check a core dump file, it may report error:
"py_initialize unable to get the locale encoding"
unset PYTHONHOME unset PYTHONPATH