Skip to contentSkip to conversation

Python3: Unable to get the locale encoding (Yocto/daisy)

DISCUSSION Mikhail Zakharov 1 participant 1 message Aug 18, 2014

lore
Share & tools
lore
#0 lore raw

Hi all,

We are using yocto daisy 1.6.1 and added 'python3' to our local.conf when building 'core-image-minimal' , however we get the following error when invoking the interpreter in on target:

Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Could someone please share a possible cause/solution to this?

Thanks and regards,
Mikhail