I am new to building images using Yocto. I am working with an STM32MPU157F, which comes with OpenSTLinux by default. The default image includes Python 3.12.4, but I also need to have Python 3.11.5 available on the image. My end goal is to have both Python versions installed in a single image and ran a AI application.
1 Answer
Probably because you are using version 3.12 you have version 5.0 (scarthgap), version 3.11 is present in 4.2 (mickledore) and 4.3 (nanbield), you can downgrade to (nanbield), or create your own layer (which I recommend) and inside it copy the python3_3.11.5 recipes from (nanbield). Remember to use PREFERRED_VERSION_python3 to force version 3.11.5.
If you don't know how to create your own layer or advance with Python3, comment here!