All of lore.kernel.org
 help / color / mirror / Atom feed
* python3.3 module encodings not found
@ 2014-09-10 11:22 Soda
  0 siblings, 0 replies; 2+ messages in thread
From: Soda @ 2014-09-10 11:22 UTC (permalink / raw)
  To: yocto

Hello developers,

I have recently switch to the poky-1.6.1, mainly because of python3.
First of all I must say that I see significant improvements in the new
yocto 1.6.1 (compare to the 1.5.1), so thanks to all contributors!

The python3 package is successfully compiled and installed on my target 
board (Atmel A5),
the problem I'm getting is the python3 cannot find the 'encodings' 
module, maybe because
there is none in the /usr/lib/python3.3/  copying one from python2 did 
not work - obviously.

This is the actual error I get:

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

More detailed error:

  # python3 -v
  import _frozen_importlib # frozen
  import imp # builtin
  import sys # builtin
  # installing zipimport hook
  import 'zipimport' # <class '_frozen_importlib.BuiltinImporter'>
  # installed zipimport hook
  Fatal Python error: Py_Initialize: Unable to get the locale encoding
  Traceback (most recent call last):
    File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
    File "<frozen importlib._bootstrap>", line 1529, in 
_find_and_load_unlocked
  ImportError: No module named 'encodings'
  Aborted


Looking forward for any hints or solutions.

Mark


^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <mailman.22969.1410356230.26702.yocto@yoctoproject.org>]

end of thread, other threads:[~2014-09-10 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-10 11:22 python3.3 module encodings not found Soda
     [not found] <mailman.22969.1410356230.26702.yocto@yoctoproject.org>
2014-09-10 14:20 ` Mikhail Zakharov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.