Hello Raymond, The problem is that you (talking about your host distro): [1] Do NOT have python3 package installed; [2] Do have python3 package < 3.4.0 version, so you need to upgrade!
So, I have no idea which host distro you are using, but: [1] If Debian/Ubuntu, then: apt-get install python3 If Fedora, then dnf install python3 [2] If Debian/Ubuntu, then: apt-get update python3 If Fedora, then dnf update python3 Hope this helps, Zoran _______ On Tue, May 1, 2018 at 10:43 PM, Raymond Yeung <rksye...@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. > > > Any insight? > > > Raymond > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto