cancel
Showing results for 
Search instead for 
Did you mean: 

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

pavanTester
Associate

cmd used

apt-get install python3-pip

1 REPLY 1
Olivier GALLIEN
ST Employee

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.