On Tue, 2018-07-10 at 10:47 +0000, Chan, Aaron Chun Yew wrote: > [Richard] I think this means you're using python2 and we really > should be using > python3 as I don't want to support both... > > [Reply] This error/bug was found during buildbot startup meaning this > is out of my control.
No, it is not out of your control. > Maybe you have a fix for this, otherwise I do suggest to > add in __init__.py in places where we need to source custom modules. > > $ buildbot start ~/yocto-controller > $ cat -n 100 ~/yocto-controller/twistd.log Try using virtualenv: $ python --version Python 2.7.15rc1 $ virtualenv -p python3 test Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python executable in /media/build1/test/bin/python3 Also creating executable in /media/build1/test/bin/python Installing setuptools, pkg_resources, pip, wheel...done. $ . ./test/bin/activate (test) richard@dax:/media/build1/$ python --version Python 3.6.5 If you start buildbot within the virtualenv, you should see it using python3. Cheers, Richard -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
