All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with Python when running oe-init-build-env
@ 2018-05-01 20:43 Raymond Yeung
  2018-05-02  6:19 ` Zoran Stojsavljevic
  2018-05-03  8:25 ` Burton, Ross
  0 siblings, 2 replies; 9+ messages in thread
From: Raymond Yeung @ 2018-05-01 20:43 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1060 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with Python when running oe-init-build-env
  2018-05-01 20:43 Problem with Python when running oe-init-build-env Raymond Yeung
@ 2018-05-02  6:19 ` Zoran Stojsavljevic
  2018-05-02 19:28   ` Raymond Yeung
  2018-05-03  8:25 ` Burton, Ross
  1 sibling, 1 reply; 9+ messages in thread
From: Zoran Stojsavljevic @ 2018-05-02  6:19 UTC (permalink / raw)
  To: Raymond Yeung; +Cc: yocto

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 <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.
>
>
> Any insight?
>
>
> Raymond
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with Python when running oe-init-build-env
  2018-05-02  6:19 ` Zoran Stojsavljevic
@ 2018-05-02 19:28   ` Raymond Yeung
  2018-05-02 20:17     ` Zoran Stojsavljevic
  2018-05-03 16:00     ` Burton, Ross
  0 siblings, 2 replies; 9+ messages in thread
From: Raymond Yeung @ 2018-05-02 19:28 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2714 bytes --]

Thanks Zoran.


My Linux build machine uses Centos 7.  I thought I'd done the installation to Python 3.6.5.  If this is not Python3 > 3.4.0, then I'm confused.  The link I follow for installation is here:  https://janikarhunen.fi/how-to-install-python-3-6-1-on-centos-7.html


> python3.6 -V

Python 3.6.5

>python -V

Python 2.7.5


Anyway, I realize what went wrong.  I'd Krogoth (a 2016 Poky) running before.  Now as I'm migrating to Rocko (a 2017 Poky), I try to solve a Python versioning issue by installing Python only (as above).  However, there may be other packages I need to update.  After getting latest Reference Manual, download and install latest environment, I no longer have python3 issue.  However, the Python version of why Python3.6 won't satisfy Python > 3.4.0 still puzzles me (though no longer blocking me).


Raymond


________________________________
From: Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>
Sent: Tuesday, May 1, 2018 11:19 PM
To: Raymond Yeung
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Problem with Python when running oe-init-build-env

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 <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.
>
>
> Any insight?
>
>
> Raymond
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
yocto Info Page<https://lists.yoctoproject.org/listinfo/yocto>
lists.yoctoproject.org
Discussion of all things about the Yocto Project. Read our Community Guidelines or learn more about how to participate in other community discussions. Subscribe before posting to bypass moderation.



>

[-- Attachment #2: Type: text/html, Size: 6585 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with Python when running oe-init-build-env
  2018-05-02 19:28   ` Raymond Yeung
@ 2018-05-02 20:17     ` Zoran Stojsavljevic
  2018-05-02 20:32       ` Paul Barker
  2018-05-03 16:00     ` Burton, Ross
  1 sibling, 1 reply; 9+ messages in thread
From: Zoran Stojsavljevic @ 2018-05-02 20:17 UTC (permalink / raw)
  To: Raymond Yeung; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3771 bytes --]

Hello Raymond,

YOCTO is, per say, moving target. If you have YOCTO Krogoth, you should
have somehow frozen host Centos 7 release around this time. As you now
moving to Rocko, you need to fast-forward the whole host Centos 7 (in other
words to upgrade Centos 7) to this state (maybe to latest, it'll still
work, I guess).

Not familiar with Centos distro, really... :-(

This is a good point to mention that you, Raymond, or anybody else, need to
give to YOCTO mailing list more info about what is going on with your
setup, since we are here guessing, in The Dark. You gave one parameter
less, then it is as solving two equations with three unknown variables (so
it is pure [un]educated guess out of Blue).

All Good, after all, you solved your problem! :-)

Zoran
_______

On Wed, May 2, 2018 at 9:28 PM, Raymond Yeung <rksyeung@hotmail.com> wrote:

> Thanks Zoran.
>
>
> My Linux build machine uses Centos 7.  I thought I'd done the installation
> to Python 3.6.5.  If this is not Python3 > 3.4.0, then I'm confused.  The
> link I follow for installation is here:  https://janikarhunen.fi/how-
> to-install-python-3-6-1-on-centos-7.html
>
> > python3.6 -V
>
> Python 3.6.5
>
> >python -V
>
> Python 2.7.5
>
>
> Anyway, I realize what went wrong.  I'd Krogoth (a 2016 Poky) running
> before.  Now as I'm migrating to Rocko (a 2017 Poky), I try to solve a
> Python versioning issue by installing Python only (as above).  However,
> there may be other packages I need to update.  After getting latest
> Reference Manual, download and install latest environment, I no longer have
> python3 issue.  However, the Python version of why Python3.6 won't satisfy
> Python > 3.4.0 still puzzles me (though no longer blocking me).
>
>
> Raymond
>
>
> ------------------------------
> *From:* Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>
> *Sent:* Tuesday, May 1, 2018 11:19 PM
> *To:* Raymond Yeung
> *Cc:* yocto@yoctoproject.org
> *Subject:* Re: [yocto] Problem with Python when running oe-init-build-env
>
> 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 <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.
> >
> >
> > Any insight?
> >
> >
> > Raymond
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> yocto Info Page <https://lists.yoctoproject.org/listinfo/yocto>
> lists.yoctoproject.org
> Discussion of all things about the Yocto Project. Read our Community
> Guidelines or learn more about how to participate in other community
> discussions. Subscribe before posting to bypass moderation.
>
>
> >
>

[-- Attachment #2: Type: text/html, Size: 8071 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with Python when running oe-init-build-env
  2018-05-02 20:17     ` Zoran Stojsavljevic
@ 2018-05-02 20:32       ` Paul Barker
  2018-05-03  3:42         ` Zoran Stojsavljevic
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Barker @ 2018-05-02 20:32 UTC (permalink / raw)
  To: yocto

On Wed, 2 May 2018, at 21:17, Zoran Stojsavljevic wrote:
> Hello Raymond,
> 
> YOCTO is, per say, moving target. If you have YOCTO Krogoth, you should
> have somehow frozen host Centos 7 release around this time. As you now
> moving to Rocko, you need to fast-forward the whole host Centos 7 (in other
> words to upgrade Centos 7) to this state (maybe to latest, it'll still
> work, I guess).

Sorry, I'd say this is wrong. Centos is a pretty stable base and I wouldn't expect backwards incompatible changes to be made within a stable release series. So if a Yocto release worked on a given Centos version (say Centos 7) at the time of release, it should still work now.

Advising people to "freeze" their host system and stop taking security/bugfix updates pushed by their distro is a bad idea.

-- 
Paul Barker
Beta Five Ltd


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with Python when running oe-init-build-env
  2018-05-02 20:32       ` Paul Barker
@ 2018-05-03  3:42         ` Zoran Stojsavljevic
  0 siblings, 0 replies; 9+ messages in thread
From: Zoran Stojsavljevic @ 2018-05-03  3:42 UTC (permalink / raw)
  To: Paul Barker; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]

 > Advising people to "freeze" their host system and stop taking
security/bugfix updates pushed by their distro is a bad idea.

I already said here that I am ignorant in regards to Centos. I never used
this distro. Please, read again my comments.

In contrary, if I try to compile YOCTO Krogoth with my Fedora 27 host, it
will 100% fail.

Paul, wanna bet on it?! ;-)

Thank you,
Zoran
_______

On Wed, May 2, 2018 at 10:32 PM, Paul Barker <paul@betafive.co.uk> wrote:

> On Wed, 2 May 2018, at 21:17, Zoran Stojsavljevic wrote:
> > Hello Raymond,
> >
> > YOCTO is, per say, moving target. If you have YOCTO Krogoth, you should
> > have somehow frozen host Centos 7 release around this time. As you now
> > moving to Rocko, you need to fast-forward the whole host Centos 7 (in
> other
> > words to upgrade Centos 7) to this state (maybe to latest, it'll still
> > work, I guess).
>
> Sorry, I'd say this is wrong. Centos is a pretty stable base and I
> wouldn't expect backwards incompatible changes to be made within a stable
> release series. So if a Yocto release worked on a given Centos version (say
> Centos 7) at the time of release, it should still work now.
>
> Advising people to "freeze" their host system and stop taking
> security/bugfix updates pushed by their distro is a bad idea.
>
> --
> Paul Barker
> Beta Five Ltd
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 6765 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with Python when running oe-init-build-env
  2018-05-01 20:43 Problem with Python when running oe-init-build-env Raymond Yeung
  2018-05-02  6:19 ` Zoran Stojsavljevic
@ 2018-05-03  8:25 ` Burton, Ross
  1 sibling, 0 replies; 9+ messages in thread
From: Burton, Ross @ 2018-05-03  8:25 UTC (permalink / raw)
  To: Raymond Yeung; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1342 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with Python when running oe-init-build-env
  2018-05-02 19:28   ` Raymond Yeung
  2018-05-02 20:17     ` Zoran Stojsavljevic
@ 2018-05-03 16:00     ` Burton, Ross
  2018-05-03 18:47       ` Zoran Stojsavljevic
  1 sibling, 1 reply; 9+ messages in thread
From: Burton, Ross @ 2018-05-03 16:00 UTC (permalink / raw)
  To: Raymond Yeung; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3354 bytes --]

I suggest you have a look through the feed that you link to and see if it
provides a package which has /usr/bin/python3 in, and if it doesn't then
just make a python3 -> python3.6 symlink (which is all you need).

Ross

On 2 May 2018 at 20:28, Raymond Yeung <rksyeung@hotmail.com> wrote:

> Thanks Zoran.
>
>
> My Linux build machine uses Centos 7.  I thought I'd done the installation
> to Python 3.6.5.  If this is not Python3 > 3.4.0, then I'm confused.  The
> link I follow for installation is here:  https://janikarhunen.fi/how-
> to-install-python-3-6-1-on-centos-7.html
>
> > python3.6 -V
>
> Python 3.6.5
>
> >python -V
>
> Python 2.7.5
>
>
> Anyway, I realize what went wrong.  I'd Krogoth (a 2016 Poky) running
> before.  Now as I'm migrating to Rocko (a 2017 Poky), I try to solve a
> Python versioning issue by installing Python only (as above).  However,
> there may be other packages I need to update.  After getting latest
> Reference Manual, download and install latest environment, I no longer have
> python3 issue.  However, the Python version of why Python3.6 won't satisfy
> Python > 3.4.0 still puzzles me (though no longer blocking me).
>
>
> Raymond
>
>
> ------------------------------
> *From:* Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>
> *Sent:* Tuesday, May 1, 2018 11:19 PM
> *To:* Raymond Yeung
> *Cc:* yocto@yoctoproject.org
> *Subject:* Re: [yocto] Problem with Python when running oe-init-build-env
>
> 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 <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.
> >
> >
> > Any insight?
> >
> >
> > Raymond
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> yocto Info Page <https://lists.yoctoproject.org/listinfo/yocto>
> lists.yoctoproject.org
> Discussion of all things about the Yocto Project. Read our Community
> Guidelines or learn more about how to participate in other community
> discussions. Subscribe before posting to bypass moderation.
>
>
> >
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 7764 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with Python when running oe-init-build-env
  2018-05-03 16:00     ` Burton, Ross
@ 2018-05-03 18:47       ` Zoran Stojsavljevic
  0 siblings, 0 replies; 9+ messages in thread
From: Zoran Stojsavljevic @ 2018-05-03 18:47 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto, Raymond Yeung

[-- Attachment #1: Type: text/plain, Size: 5085 bytes --]

Hello Ross,

Seems that you are correct. I have checked on my host Fedora 27:

[vuser@localhost bin]$ pwd
/usr/bin
[vuser@localhost bin]$ uname -r
4.16.5-200.fc27.x86_64
[vuser@localhost bin]$ ls -al pyth*
lrwxrwxrwx. 1 root root     7 Mar 14 14:36 python -> python2
lrwxrwxrwx. 1 root root     9 Mar 14 14:36 python2 -> python2.7
-rwxr-xr-x. 1 root root  7128 Mar 14 14:37 python2.7
lrwxrwxrwx. 1 root root     9 Apr  4 17:03 python3 -> python3.6
-rwxr-xr-x. 2 root root 11240 Apr  4 17:03 python3.6
-rwxr-xr-x. 2 root root 11240 Apr  4 17:03 python3.6m
-rwxr-xr-x. 1 root root   388 Jul 28  2017 python3-chardetect
-rwxr-xr-x. 1 root root   387 Nov 16 18:05 python3-coverage
-rwxr-xr-x. 1 root root   396 Jul 28  2017 python3-mako-render
-rwxr-xr-x. 1 root root   392 Jul 28  2017 python3-pyinotify
[vuser@localhost bin]$

I also have checked on my Debian 9.4.0 VM:

user@unassigned-hostname:/usr/bin$ pwd
/usr/bin
user@unassigned-hostname:/usr/bin$ uname -r
4.9.0-6-amd64
user@unassigned-hostname:/usr/bin$ ls -al pyth*
lrwxrwxrwx 1 root root       9 May  3 11:03 python -> python2.7
lrwxrwxrwx 1 root root       9 May  3 11:03 python2 -> python2.7
-rwxr-xr-x 1 root root 3779512 Nov 24 12:33 python2.7
lrwxrwxrwx 1 root root       9 May  3 11:03 python3 -> python3.5
-rwxr-xr-x 2 root root 4747120 Jan 19  2017 python3.5
-rwxr-xr-x 2 root root 4747120 Jan 19  2017 python3.5m
lrwxrwxrwx 1 root root      10 May  3 11:03 python3m -> python3.5m
user@unassigned-hostname:/usr/bin$

Zoran
_______


On Thu, May 3, 2018 at 6:00 PM, Burton, Ross <ross.burton@intel.com> wrote:

> I suggest you have a look through the feed that you link to and see if it
> provides a package which has /usr/bin/python3 in, and if it doesn't then
> just make a python3 -> python3.6 symlink (which is all you need).
>
> Ross
>
> On 2 May 2018 at 20:28, Raymond Yeung <rksyeung@hotmail.com> wrote:
>
>> Thanks Zoran.
>>
>>
>> My Linux build machine uses Centos 7.  I thought I'd done the
>> installation to Python 3.6.5.  If this is not Python3 > 3.4.0, then I'm
>> confused.  The link I follow for installation is here:
>> https://janikarhunen.fi/how-to-install-python-3-6-1-on-centos-7.html
>>
>> > python3.6 -V
>>
>> Python 3.6.5
>>
>> >python -V
>>
>> Python 2.7.5
>>
>>
>> Anyway, I realize what went wrong.  I'd Krogoth (a 2016 Poky) running
>> before.  Now as I'm migrating to Rocko (a 2017 Poky), I try to solve a
>> Python versioning issue by installing Python only (as above).  However,
>> there may be other packages I need to update.  After getting latest
>> Reference Manual, download and install latest environment, I no longer have
>> python3 issue.  However, the Python version of why Python3.6 won't satisfy
>> Python > 3.4.0 still puzzles me (though no longer blocking me).
>>
>>
>> Raymond
>>
>>
>> ------------------------------
>> *From:* Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>
>> *Sent:* Tuesday, May 1, 2018 11:19 PM
>> *To:* Raymond Yeung
>> *Cc:* yocto@yoctoproject.org
>> *Subject:* Re: [yocto] Problem with Python when running oe-init-build-env
>>
>> 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 <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.
>> >
>> >
>> > Any insight?
>> >
>> >
>> > Raymond
>> >
>> >
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>> yocto Info Page <https://lists.yoctoproject.org/listinfo/yocto>
>> lists.yoctoproject.org
>> Discussion of all things about the Yocto Project. Read our Community
>> Guidelines or learn more about how to participate in other community
>> discussions. Subscribe before posting to bypass moderation.
>>
>>
>> >
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 10387 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-03 18:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-01 20:43 Problem with Python when running oe-init-build-env Raymond Yeung
2018-05-02  6:19 ` Zoran Stojsavljevic
2018-05-02 19:28   ` Raymond Yeung
2018-05-02 20:17     ` Zoran Stojsavljevic
2018-05-02 20:32       ` Paul Barker
2018-05-03  3:42         ` Zoran Stojsavljevic
2018-05-03 16:00     ` Burton, Ross
2018-05-03 18:47       ` Zoran Stojsavljevic
2018-05-03  8:25 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.