On 8 September 2016 at 23:06, Siegel, Jeffrey (Nokia - US) <
jeffrey.sie...@nokia.com> wrote:

> ‘bb’ Python source contains shebang path ‘/usr/bin/env python3’ , which
> means it expects to be run by a Python 3.x interpreter. But then it imports
> python code from bitbake/lib, and bitbake/Yocto use Python 2.7.x.  ‘bb’
> fails upon trying to import ‘commands’, which is a non-existent module in
> Python3.
>
>
bb master uses Python 3 because oe-core and bitbake master use Python 3.

If you want to use bb against a release of OE that uses Python 2 then
you'll need to check out a previous commit before the migration to Py3.

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to