From: Soda <sodovkar@gmail.com>
To: yocto@yoctoproject.org
Subject: python3.3 module encodings not found
Date: Wed, 10 Sep 2014 13:22:12 +0200 [thread overview]
Message-ID: <54103464.7070807@gmail.com> (raw)
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
next reply other threads:[~2014-09-10 11:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-10 11:22 Soda [this message]
[not found] <mailman.22969.1410356230.26702.yocto@yoctoproject.org>
2014-09-10 14:20 ` python3.3 module encodings not found Mikhail Zakharov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54103464.7070807@gmail.com \
--to=sodovkar@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.