Though, I have python3 installed in the new image but it is still lacking some modules.
ex. argparse, serial, datetime, hashlib, enum, _posixsubprocess
And I see the poky & oe version we use use doesn’t provide all the recipes for the modules. (or maybe I misunderstood it.)
How should I include the python3 modules into the image correctly?
biitbake processed the settings in conf/local.conf.
use this IMAGE_INSTALL_append = “python3 python3-subprocess” insted of CORE_IMAGE_EXTRA_INSTALL
If you use CORE_IMAGE_EXTRA_INSTALL bitbake does not install what image is needed.
or
you can go to corresponding recipes of .bb file and
IMAGE_INSTALL += “python3 python3-subprocess”
Hi,
CORE_IMAGE_EXTRA_INSTALL has the same effect as IMAGE_INSTALL_append and IMAGE_INSTALL.
yocto version we use is old and it has some packaging problem therefore “python3-misc” need to be added to the image too.