There's more...

In meta-python, you can also find the python-pip  (python3-pip  for Python 3) recipe that will add the pip utility to your target image. It can be used to install packages from the Python Package Index (PyPI). You can add it to your image with the following:

IMAGE_INSTALL_append  = " python3-pip" 

You will need to add the meta-openembedded/meta-python layer to your conf/bblayers.conf file in order to build your image. Then, you can build for the core-image-minimal image with the following:

$ cd /opt/yocto/fsl-community-bsp/
$ source setup-environment wandboard
$ bitbake core-image-minimal

Once installed, you can use it from the target, as follows:

# pip search <package_name>
# pip install <package_name>
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset