[yocto] Problem with Python when running oe-init-build-env

Raymond Yeung rksyeung at hotmail.com
Tue May 1 13:43:02 PDT 2018


I'd just git cloned Rocko and meta-ti.  When I try to source oe-init-build-env, I got errors:


-bash: python3: command not found

BitBake requires Python 3.4.0 or later as 'python3'.  "python -V" gives "Python 2.7.9".  "python3" is not in $PATH.  I'd followed some detailed online description to install Python 3.6 on CentOS 7.  However, after installation, it looks like I need to invoke it with python3.6.


How does this work now?  I suppose the oe-init-build-env script uses/expects python3, not python3.6.


Any insight?


Raymond
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180501/20a5cef8/attachment-0001.html>


More information about the yocto mailing list