$ python
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Current thread 0x00007f15c5307740 (most recent call first):
Aborted (core dumped)
برای حل این مشکل
بر روی سیستم میزبان نسخه پایتون مورد نظر را نصب می کنیم
سپس مسیر آن را تنظیم می کنیم
export PYTHONHOME=/usr/lib64/python3.5/
export PYTHONPATH=/usr/lib64/python3.5/