yocto - 在食谱 Yocto 项目中使用 pip install 命令

标签 yocto bitbake openembedded

我需要使用此站点上现有的库 https://pypi.python.org/pypi/SpeechRecognition/

库呈现格式压缩 SpeechRecognition-3.4.3.tar.gz

我可以用吗

pip install SpeechRecognition

在覆盖函数中
配方文件中的 do_fetch 、 do_install ?

在镜像中安装这个库

最佳答案

使用 inherit pypi相反。很可能您还想使用 setuptools , IE

 inherit pypi setuptools

例如参见 python-flask配方:python-flask_0.10.1.bb

关于yocto - 在食谱 Yocto 项目中使用 pip install 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36545388/

相关文章:

layer - 在yocto中的layer.conf中使用require

yocto - Bitbake bbappend 文件名中的文件百分比

xilinx - 找不到发行版 'poky'。请在您的 local.conf 中设置一个有效的 DISTRO

linux - 为什么 bitbake 找不到并安装我的脚本?

yocto - 如何在 yocto 中删除 deploy/images/beaglebone 目录

linux - 安装自签名证书 Linux yocto

c - 2个用户空间程序在tun上使用多播

git - 如何设置 Yocto 配方以从本地 git 源构建?

yocto - 用于复制文件夹的 bitbake 配方,yocto 的子文件夹

build - bitbake 依赖如何对源代码起作用?