How to install python package on STM32MP157c-dk2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-12-06 12:21 AM
Hello,
I have followed this link: https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI-CV_OpenSTLinux_expansion_package and successfully flashed STM32MP157c-dk2 device with AI OpenCV image.
Now, I am trying to install python package
scipy
on the device. But it throws error that
"unable to execute arm-openstlinux_wetson-linux-gnueabi-gcc: No such file or directory"
and
"error: command arm-openstlinux_wetson-linux-gnueabi-gcc failed with exit status 1"
Could you please guide me? How can I install a python package on a device once the device is booted with AI OpenCV package.
Thanking you,
Saurabh
Solved! Go to Solution.
- Labels:
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-06 3:47 AM
Hi @SChau.2062
Yes, "apt-get" is now supported in V1.2.0 release delivered 1 week ago.
Please refer to :
https://community.st.com/s/question/0D50X0000CDmAyISQV/stm32-mpus-new-ecosystem-release-v12
Olivier
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-12-06 1:11 AM
Hi @SChau.2062
There's, so far, no way to install such package at runtime.
Providing "apt-get" service for such is in the plan for year 2020, we will keep you posted.
In the meantime you have to manage to cross-compile and install package with Yocto.
Below links might help you :
https://wiki.st.com/stm32mpu/wiki/How_to_add_a_customer_application
https://wiki.st.com/stm32mpu/wiki/How_to_create_a_new_open_embedded_layer
Hint for scipy :
https://stackoverflow.com/questions/47770891/cross-compiling-scipy-for-open-embedded ( not validated by ST )
Hope it help,
Olivier
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-06 2:29 AM
Hi Olivier,
Is there any improvement so far to install package at runtime using "apt-get"?
I am waiting for this feature to install a python package on a device once the device is booted with AI OpenCV package.
Thanks,
Saurabh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-06 3:47 AM
Hi @SChau.2062
Yes, "apt-get" is now supported in V1.2.0 release delivered 1 week ago.
Please refer to :
https://community.st.com/s/question/0D50X0000CDmAyISQV/stm32-mpus-new-ecosystem-release-v12
Olivier
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-06 3:48 AM
Great! Thank you!
