use Pandas on STM32mp157F-DK2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-01 12:31 AM
tpy to use Pandas on STM32mp157F-DK2.
very simple example - Python.
File "pandas/_libs/internals.pyx", line 717, in pandas._libs.internals.BlockManager._rebuild_blknos_and_blklocs
ValueError: Buffer dtype mismatch, expected 'intp_t' but got 'long long'
Problem with panda or build?
I added several packages to the image.
IMAGE_INSTALL:append = "\ packagegroup-core-buildessential \ python3-scipy \ python3-pip \ python3-matplotlib \ python3-pandas \ networkmanager \ "
- Labels:
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-03 7:02 AM
Hi @karu2003
The package python3-pandas is available by default in the OpenSTLinux distribution. You can install it from your board with the following commands:
root@stm32mp1:~ # apt-get update
root@stm32mp1:~ # apt-get install python3-pandas
Could you make an attempt with this method please and report the result?
Best regards,
--JM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-03 8:29 AM
That's exactly what I did. And it doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-05 11:46 PM
Hi @karu2003
It appears there is a bug in the python3-pandas module. I found your exact error message here:
https://github.com/pandas-dev/pandas/issues/55305
I recommend you to contact the Pandas community to help you.
Best regards
--JM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-06 8:06 PM - edited ‎2024-05-06 9:03 PM
Thank you. I will watch the development. Why is panda in the st repository? it doesn't work!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-13 4:51 AM
Hi @karu2003
The OpenSTLinux distribution is based on the Yocto project. The Yocto layers we use contain several thousand of packages we build to deliver them into our distribution. Some of them may be broken independently of the target as it appears for the python3-pandas package.
Best regards,
--JM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-13 11:13 PM
Thank you. I satisfied my interest in STM32mp1. It is too early to consider ST32mp1 as an alternative to RPI.
