[yocto] 'bb' utility fails on attempt to import 'commands' module
Burton, Ross
ross.burton at intel.com
Fri Sep 9 06:44:49 PDT 2016
On 8 September 2016 at 23:06, Siegel, Jeffrey (Nokia - US) <
jeffrey.siegel at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160909/b7973cd6/attachment.html>
More information about the yocto
mailing list