On 14 Mar 2024, at 14:40, ashujoshi35 via lists.yoctoproject.org <ashujoshi35=gmail....@lists.yoctoproject.org> wrote: > > Trying to install wirepas_gateway package from pypi. It fails with error no > module named pkgconfig. Below is the error > > File "setup.py", line 17, in <module> > | import pkgconfig > | ModuleNotFoundError: No module named 'pkgconfig' > > SUMMARY = "Recipe to install Python PiP Package wirepas_gateway" > LICENSE = "Apache-2.0" > LIC_FILES_CHKSUM = "file://LICENSE;md5=cb6bb17b0d0cca188339074207e9f4d8" > inherit pypi setuptools3 > PYPI_PACKAGE = "wirepas_gateway" > SRC_URI[md5sum] = "941a4407513445c64f16b57a1474fc43" > > It is not able to locate pkgconfig. tried to export the path as found in one > of the link using below, even that didn't worked out: > export PKG_CONFIG = "${STAGING_BINDIR_NATIVE}/pkg-config" > > Any idea how to make pkgconfig available to the setup.py file >
That’s python code trying to import pkgconfig, so you’ll need to DEPEND on python3-pkgconfig (there’s a recipe for that in meta-python). Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62763): https://lists.yoctoproject.org/g/yocto/message/62763 Mute This Topic: https://lists.yoctoproject.org/mt/104927594/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-