petalinux2018.3 error 记录

petalinux-config --get-hw-description=.

报错

[INFO] sourcing bitbake
ERROR: Failed to source bitbake
ERROR: Failed to config project.
ERROR: Get hw description Failed!.
 

vi ./build/config.log

Run devtool --help for further details.
OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python v3.
Please set up python v2 as your default 'python' interpreter.
ERROR: Failed to source bitbake

 

python版本不对,在config.log中会有提示,应该将python版本设置为2.xx,而不是3.xx

你可能感兴趣的:(petalinux2018.3 error 记录)