On Thu, Mar 14, 2024 at 11:21 AM Ross Burton <[email protected]> wrote:
> On 14 Mar 2024, at 14:40, ashujoshi35 via lists.yoctoproject.org > <[email protected]> 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). > > `devtool add <url to the git repository or pypi tarball>` should have caught the dependency and mentioned it. It only knows about what has already been built, however. > Ross > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62764): https://lists.yoctoproject.org/g/yocto/message/62764 Mute This Topic: https://lists.yoctoproject.org/mt/104927594/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
