[yocto] No module named setuptools -- even with "inherit setuptools"?

Giordon Stark kratsg at gmail.com
Fri Mar 23 11:46:56 PDT 2018


Hi,

I'm a bit perplexed. I don't know what I'm doing wrong here, but this is
the log data:

Log data follows:
| DEBUG: Executing shell function do_compile
| Traceback (most recent call last):
|   File "setup.py", line 2, in <module>
|     from setuptools import setup
| ImportError: No module named setuptools
| ERROR: python setup.py build execution failed.
| WARNING:
/local/d4/gstark/poky/build/tmp/work/aarch64-poky-linux/python-construct/2.9.39-r0/temp/run.do_compile.3286:1
exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at
/local/d4/gstark/poky/build/tmp/work/aarch64-poky-linux/python-construct/2.9.39-r0/temp/log.do_compile.3286)
ERROR: Task
(/local/d4/gstark/meta-l1calo/recipes-python/python-construct_2.9.39.bb:do_compile)
failed with exit code '1'

with the recipe looking like this... (below). Any ideas?

DESCRIPTION = "Python declarative parser for binary data"
HOMEPAGE = "http://construct.readthedocs.org/en/latest/"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3fd0f2c25089e629957285e6bc402a20"

PYPI_PACKAGE = "construct"
inherit pypi setuptools

SRC_URI[md5sum] = "39407f91407138f687ea2ecf8d758a1f"
SRC_URI[sha256sum] =
"c23ef47fd5751d821e5c17d9b3b02d1f3c465e66b8a205b9c791c4abef747138"

DEPENDS = "python python-six"
RDEPENDS_${PN} += "python-lang python-shell python-six python-debugger"
-- 
Giordon Stark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180323/86d29c42/attachment.html>


More information about the yocto mailing list