|Subject:||[Jailkit-users] python in jail|
|Date:||Fri, 15 Nov 2019 12:29:52 -0600|
|I am currently working to get python3 working on a amazon linux 2 system, the jail is working I have copied over all the files from the system I could find using the following.|
repoquery -q -l --plugins python*
However when running python from inside the jail I receive:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007f348fd3d540 (most recent call first):
I have attempted unsetting PYTHONPATH and unsetting and setting PYTHONHOME as well, get the same error regardless. Everything else in the jail seems to be working however.
|[Prev in Thread]||Current Thread||[Next in Thread]|