[oe-users] Bitbake ImportError: cannot import name cooker

Nelson Castillo nelsoneci at gmail.com
Tue Aug 7 16:51:26 UTC 2007


On 8/7/07, Richard Purdie <rpurdie at rpsys.net> wrote:
> 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.

Thanks!

> By running setup you overwrote some of them and made it work which
> whilst not ideal, solved the problem...

Yes, it didn't work. I ended up using another PC at work, and I was planning
to use a chroot at home to avoid old files, but now I'll look for the bb dir.

Regards,
N.-

-- 
http://arhuaco.org
http://emQbit.com




More information about the Openembedded-users mailing list