Skip to main content
Visitor II
October 30, 2023
Question

Trouble installing Python Packages - [Keras and TensorFlow]

  • October 30, 2023
  • 1 reply
  • 1095 views

I'm using STM32MP135f-dk, I'm having trouble installing keras: this is the output Screenshot 2023-10-30 123418.png

    This topic has been closed for replies.

    1 reply

    ST Employee
    November 3, 2023

     @CharanVelavan 

    From the output you provide, I guess you try to install your python libraries with the command pip3 install <library>.

    However, the error «Broken toolchain: cannot link a simple C program» shows the process needs an installed toochain to build your component. We do not provide such a toolchain (gcc, g++, etc) on the Starter Package.

    To build your library, you need to use the Distribution Package and create a yocto recipe. If you are not familiar with Yocto and Distribution Package, please take a look at the following article: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package

    To create python3 yocto recipe, you can install on your host machine the utility tool pipoe and use it to create your recipe.

    Best regards

    --JM