Skip to main content
pavanTester
Visitor II
May 2, 2019
Question

How to I install python packages (ex. openCV) on STLinux? Tried to install pip, which isnt working

  • May 2, 2019
  • 1 reply
  • 1223 views

cmd used

apt-get install python3-pip

This topic has been closed for replies.

1 reply

Olivier GALLIEN
Technical Moderator
June 18, 2019

Hi @pavanTester​ 

Sorry for late reply, your post was not tagged with correct topic.

OpenSTLinux can not support debian package installation with apt-get.

You should use Yocto build mechanism of the Distribution package to add the needed packages with layers.

Please refer to :

https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package

Note that st-image-weston image already contains the meta-oe layer containing opencv package.

And also meta-python layer containing many python3 package.

https://layers.openembedded.org/layerindex/branch/master/layer/meta-python/

https://layers.openembedded.org/layerindex/branch/master/layer/meta-oe/

Hope it help

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.