[oe] Bitbake 1.12.0 released! - ImportError: No module named ply
Richard Purdie
rpurdie at rpsys.net
Mon Feb 21 12:31:59 UTC 2011
On Sun, 2011-02-20 at 10:08 +0100, Steffen Sledz wrote:
> Trying bitbake 1.12.0 together with the testscript from contrib
> results in an error for me (openSUSE 11.3 32bit, bitbake 1.10.2 works
> fine):
>
> sledz at mobil-400-586:~/tmp/xy> MACHINE=hipox TARGET_RECIPE=minimal-image DISTRO=angstrom-2008.1 TESTING_BRANCH=testing-release-2011.03 BB_MIN_VERSION=1.12.0 ~/work/openembedded/contrib/testing/testscript.sh
> Branch testing-release-2011.03 set up to track remote branch testing-release-2011.03 from origin.
> Already on 'testing-release-2011.03'
> Already up-to-date.
> hipox angstrom-2008.1 minimal-image testing-release-2011.03 72a088f7e1cf2eb0b50f285301478278c616c1cd
> Traceback (most recent call last):
> File "/home/sledz/tmp/xy/bitbake-1.12.0/bin/bitbake", line 35, in <module>
> import bb
> File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/__init__.py", line 138, in <module>
> deprecate_import(__name__, "bb.fetch", ("MalformedUrl", "encodeurl", "decodeurl"))
> File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/__init__.py", line 126, in deprecate_import
> module = __import__(modulename, fromlist = fromlist)
> File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/fetch/__init__.py", line 32, in <module>
> from bb import data
> File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/data.py", line 48, in <module>
> from bb import data_smart
> File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/data_smart.py", line 34, in <module>
> import bb, bb.codeparser
> File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/codeparser.py", line 7, in <module>
> from pysh import pyshyacc, pyshlex
> File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/pysh/pyshyacc.py", line 13, in <module>
> import pyshlex
> File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/pysh/pyshlex.py", line 22, in <module>
> from ply import lex
> ImportError: No module named ply
Did you try installing python-ply or whatever the name of the ply module
for python is on openSUSE?
Cheers,
Richard
More information about the Openembedded-devel
mailing list