How to install machine learning Python 3 packages on imx8mp custom board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to install machine learning Python 3 packages on imx8mp custom board

1,096 Views
riccardobrue
Contributor I

Hi, I'm trying to install the following libraries on a custom Yocto distribution without any success:

  • Tensorflow: I've tried cloning the meta-tensorflow repo (git://git.yoctoproject.org/meta-tensorflow) but the following error occurs:
    • ERROR: Unable to start bitbake server (None)
      ERROR: Server log for this session (/home/ubuntu/var-fsl-yocto/build_xwayland/bitbake-cookerdaemon.log):
      --- Starting bitbake server pid 5134 at 2020-12-28 07:56:32.889552 ---
      ERROR: Layer meta-tensorflow is not compatible with the core layer which only supports these series: zeus (layer is compatible with hardknott gatesgarth)
  • Sklearn (scikit-learn): Tried by adding "python3-scikit-learn" to CORE_IMAGE_EXTRA_INSTALL:
    • ERROR: Nothing RPROVIDES 'python3-scikit-learn' (but /home/ubuntu/var-fsl-yocto/sources/meta-imx/meta-sdk/recipes-fsl/images/fsl-image-gui.bb RDEPEN DS on or otherwise requires it)
  • Matplotlib: Successfully added to the Yocto image with "python3-matplotlib" appended to CORE_IMAGE_EXTRA_INSTALL, but when importing on the running system the following error occurs:
    • No module named "kiwisolver"

How can I solve the previous errors during Yocto building? Thank you.

0 Kudos
Reply
1 Reply

1,081 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 Kudos
Reply