0
votes

Fatal Python error: Py_Initialize: Unable to get the locale encoding File "/usr/lib/python2.7/encodings/init.py", line 123 raise CodecRegistryError,
^ SyntaxError: invalid syntax

Current thread 0x00007f01747bf740 (most recent call first): Aborted (core dumped)

1
Could you please provide a bit more information? e.g. What are you trying to do? Where is your minimum reproducible example? stackoverflow.com/help/minimal-reproducible-example - Oliver Lorton

1 Answers

0
votes

Default value of PYTHONPATH is given below

export PYTHONPATH=/usr/local/lib/python2.7/site-packages