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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,441 次查看
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,407 次查看
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,405 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

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

Regards

0 项奖励
回复