Which python version should be used as "python" command?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Which python version should be used as "python" command?

1,442件の閲覧回数
diverger
Contributor II

It seems from Ubuntu 20.04, the default "python" command is deliberately undefined. Actually, all official Ubuntu packages depend explicitly on "python2" or "python3". The IMXLXYOCTOUG recommend Ubuntu versions >= 20.04. But still ask the user to install 'python' package. Then which version should I use as 'python' command when compiling the Yocto project, 2 or 3?

 

Thanks.

0 件の賞賛
返信
2 返答(返信)

1,408件の閲覧回数
L30
Contributor II

If you are referring to the python host verison , you can retrieve the infos that you need on the yocto project documentation.

Example

https://docs.yoctoproject.org/migration-guides/migration-3.1.html

That's for migrating to the dunfell branch from a previous one , you can see from the screenshot i've taken that python 3.5 is in the requirements .

L30_0-1673874626280.png

Hope this will help you

0 件の賞賛
返信

1,406件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Any version sonce 3.x and up can be use by yocto.

Regards

0 件の賞賛
返信