我的python 2.3.2.bb文件包含:
SRC_URI="https://github.com/niolabs/python-xbee/archive/v2.3.2.tar.gz"
SRC_URI[md5sum] = "e74381e23f12159675d7ad92a06d8d0f"
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
do_configure[noexec]="1"
inherit setuptools
RDEPENDS_${PN} += " \
${PYTHON_PN}-subprocess "
RDEPENDS_${PN} = "\
${PYTHON_PN}-fcntl \
${PYTHON_PN}-numbers \
${PYTHON_PN}-shell \
${PYTHON_PN}-stringold \
${PYTHON_PN}-io \
${PYTHON_PN}-logging \
${PYTHON_PN}-math \
${PYTHON_PN}-netclient \
${PYTHON_PN}-threading "这是在编译bitbake python-xbee-2.3.2**:**时得到的错误
错误:python 2.3.2-1.0R0 do_compile:'python‘执行失败。错误:python 2.3.2-1.0-R0- do_compile: Function : do_compile (日志文件位于do_compile错误:存储在: /home//build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux中的失败日志文件-gnueabi/python-xbee-2.3.2/1.0-r0/temp/log.do_compile.15930
在此之后,将按照获取日志数据:
无法打开文件'setup.py':Errno 2没有这样的文件或目录。/home//build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/python-xbee-2.3.2/1.0-r0/recipe-sysroot-native/usr/bin/python-native/python:无法打开文件' setup.py‘:Errno 2没有这样的文件或目录错误: 'python’执行失败的错误:函数失败: do_compile (日志文件位于/home///tmp/work)/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/python-xbee-2.3.2/1.0-r0/temp/log.do_compile.15930) 错误:退出代码“1”导致任务(/home//build/../sources/poky/meta/recipes-support/python-xbee-2.3.2/python-xbee-2.3.2.bb:do_compile)失败
发布于 2019-01-28 20:46:36
您也应该继承pypi,因为这涉及python包安装:
inherit pypi如边注所示:
https://stackoverflow.com/questions/54345254
复制相似问题