2025-04-07 8:43 PM
I'm trying to get PySide6 and some common Python packages on my STM32MP257. "apt-get install python3-PySide6" doesn't work. I also tried to install the PySide6 package using pip3, which installed successfully, but gave me the error "ImportError: libX11.so.6: cannot open shared object file: No such file or directory" when I actually ran it. It seems to be missing some dependencies to support the Qt and GUI development I want to do. At this point, I'm stuck. I am using the STM32MP257F-DK development kit.
2025-07-01 12:15 AM
Hi,
PySide6 is not part of the X-LINUX-QT Starter Package. There is no PySide6 debian package on our server. This is due to redistribution legal constraints.
You need to rebuild the Distribution to get the lib.
https://wiki.st.com/stm32mpu/wiki/X-LINUX-QT_Expansion_Package
And more specifically:
https://wiki.st.com/stm32mpu/wiki/X-LINUX-QT_Distribution_Package
with following recipe "python3-pyside6" to be added:
https://layers.openembedded.org/layerindex/recipe/380679/
BR,
Philippe.