On 1 May 2018 at 21:43, Raymond Yeung <rksyeung@hotmail.com> wrote:

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.


The python3 installation should have created a python3 symlink to python3.6.  If this didn't happen, create it yourself.

Ross