[oe-users] Bitbake ImportError: cannot import name cooker
Richard Purdie
rpurdie at rpsys.net
Tue Aug 7 13:12:02 UTC 2007
On Sun, 2007-08-05 at 12:14 -0500, Nelson Castillo wrote:
> On 8/5/07, Nelson Castillo <nelsoneci at gmail.com> wrote:
> > I got this error after installing bitbake (stable) from sources and using
> > the Debian package in Debian SID. What could I be doing
> > wrong?
> >
> > n at gaira:~$ bitbake
> > Traceback (most recent call last):
> > File "/usr/bin/bitbake", line 28, in ?
> > from bb import cooker
> > ImportError: cannot import name cooker
> >
> > I had an older version of bitbake installed and did a
> > find -iname "bitbake*" in /usr to delete all the old data
> > before installing.
>
> Mmm. Error gone when I used:
>
> ./setup.py install --prefix=/usr/local --install-data=/usr/local/share
You didn't remove the bitbake files installed in /usr/lib/python* which
aren't prefixed with bitbake but live in a "bb" directory instead.
By running setup you overwrote some of them and made it work which
whilst not ideal, solved the problem...
Cheers,
Richard
More information about the Openembedded-users
mailing list