Hi all,

I am trying to add the below python packages to the Yocto image which we are 
creating for out custom board. I am able to see that packages is successfully 
placed in /usr/lib.python3.10/site-packages.

The issue we are facing is that, when we try to import the pyside2 using import 
pyside2, we get the import error

File "<stdin>", line 1, in <module>

File "/usr/lib/python3.10/site-packages/pyside2/__init__.py", line 107, in 
<module>

_setupQtDirectories()

File "/usr/lib/python3.10/site-packages/pyside2/__init__.py", line 58, in 
_setupQtDirectories

import shiboken2

File "/usr/lib/python3.10/site-packages/shiboken2/__init__.py", line 27, in 
<module>

from .shiboken2 import *

ImportError: /usr/lib/python3.10/site-packages/shiboken2/shiboken2.abi3.so: 
cannot open shared object file: No such file or directory

And also pydantic_core

import pydantic_core

File "/usr/lib/python3.10/site-packages/pydantic_core/__init__.py", line 6, in 
<module>

from ._pydantic_core import (

ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'

I have added my recipe files with this. Kindly check and let me know the issues 
and anything wrong

Attachment: python3-pydantic-core_2.23.1.bb
Description: Binary data

Attachment: python3-pyside2_5.15.14.bb
Description: Binary data

Attachment: python3-shiboken2_5.15.2.1.bb
Description: Binary data

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63849): https://lists.yoctoproject.org/g/yocto/message/63849
Mute This Topic: https://lists.yoctoproject.org/mt/108498941/21656
Mute #kernel:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernel
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to