snowboy 无法 install
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple snowboy
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, https://www.piwheels.org/simple
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!
Collecting snowboy
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/86/fc/3a13408cb3b32abff1b0539f44fca02ca378d9077b11f0c95674f278f3de/snowboy-1.2.0b1.tar.gz (5.0 MB)
Requirement already satisfied: PyAudio in /usr/local/lib/python3.9/dist-packages (from snowboy) (0.2.13)
Building wheels for collected packages: snowboy
Building wheel for snowboy (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sc7hxgzh/snowboy_edd1aa31c3cb4f619ea678a7df0e2db0/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sc7hxgzh/snowboy_edd1aa31c3cb4f619ea678a7df0e2db0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0vqgy7fv
cwd: /tmp/pip-install-sc7hxgzh/snowboy_edd1aa31c3cb4f619ea678a7df0e2db0/
Complete output (12 lines):
running bdist_wheel
running build
Compiling snowboy...
g++ -I../../ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -shared snowboy-detect-swig.o \
../..//lib/ubuntu64/libsnowboy-detect.a -L/usr/lib/python2.7/config-aarch64-linux-gnu -L/usr/lib -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lm -ldl -lf77blas -lcblas -llapack_atlas -latlas -o _snowboydetect.so
snowboy-detect-swig.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make: *** [Makefile:65: _snowboydetect.so] Error 1
creating build
creating build/lib
creating build/lib/snowboy
error: can't copy 'swig/Python/_snowboydetect.so': doesn't exist or not a regular file
----------------------------------------
ERROR: Failed building wheel for snowboy
Running setup.py clean for snowboy
Failed to build snowboy
Installing collected packages: snowboy
Running setup.py install for snowboy ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sc7hxgzh/snowboy_edd1aa31c3cb4f619ea678a7df0e2db0/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sc7hxgzh/snowboy_edd1aa31c3cb4f619ea678a7df0e2db0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-23c0i14u/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pi/.local/include/python3.9/snowboy
cwd: /tmp/pip-install-sc7hxgzh/snowboy_edd1aa31c3cb4f619ea678a7df0e2db0/
Complete output (25 lines):
running install
/home/pi/.local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!! ********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
******************************************************************************** !!
self.initialize_options()
running build
Compiling snowboy...
g++ -I../../ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -shared snowboy-detect-swig.o \
../..//lib/ubuntu64/libsnowboy-detect.a -L/usr/lib/python2.7/config-aarch64-linux-gnu -L/usr/lib -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lm -ldl -lf77blas -lcblas -llapack_atlas -latlas -o _snowboydetect.so
snowboy-detect-swig.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make: *** [Makefile:65: _snowboydetect.so] Error 1
creating build
creating build/lib
creating build/lib/snowboy
error: can't copy 'swig/Python/_snowboydetect.so': doesn't exist or not a regular file
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sc7hxgzh/snowboy_edd1aa31c3cb4f619ea678a7df0e2db0/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sc7hxgzh/snowboy_edd1aa31c3cb4f619ea678a7df0e2db0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-23c0i14u/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pi/.local/include/python3.9/snowboy Check the logs for full command output.
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple snowboy
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, https://www.piwheels.org/simple
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!
Collecting snowboy
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/86/fc/3a13408cb3b32abff1b0539f44fca02ca378d9077b11f0c95674f278f3de/snowboy-1.2.0b1.tar.gz (5.0 MB)
|████████████████████████████████| 5.0 MB 64 kB/s
Requirement already satisfied: PyAudio in /usr/local/lib/python3.9/dist-packages (from snowboy) (0.2.13)
Building wheels for collected packages: snowboy
Building wheel for snowboy (setup.py) ... error
It seems there was an error while building the Snowboy package. This could be due to various reasons, such as missing dependencies or incompatible system configurations. To troubleshoot the issue, you can try the following steps:
Ensure Dependencies are Installed:
Snowboy has some dependencies that need to be installed before building the package. Make sure you have the necessary dependencies installed on your system. These dependencies includepython-devandpython3-dev. You can install them using the following command:Copy
sudo apt-get install python-dev python3-dev
```Upgrade Setuptools and Wheel:
It's recommended to upgrade Setuptools and Wheel to the latest versions before building the package. You can use the following command to upgrade them:Copy
pip install --upgrade setuptools wheel
Build Snowboy from Source:
Instead of installing the pre-built package, you can try building Snowboy from source. Here are the steps to do it:- Download the Snowboy source code from the official GitHub repository: https://github.com/Kitt-AI/snowboy
- Extract the downloaded source code to a directory of your choice.
- Open a terminal and navigate to the extracted Snowboy directory.
- Run the following command to build the package:
Copy
python setup.py build
- After the build process completes, install the package using the following command:
Copy
python setup.py install
By building Snowboy from source, you may be able to overcome any issues encountered during the installation process.
Seek Further Assistance:
If the above steps do not resolve the issue, it may be helpful to seek assistance from the Snowboy community or the package maintainers. You can visit the Snowboy GitHub repository or their official website for more information and support options.
snowboy 无法 install的更多相关文章
- 离线语音Snowboy热词唤醒+ 树莓派语音交互实现开关灯
离线语音Snowboy热词唤醒 语音识别现在有非常广泛的应用场景,如手机的语音助手,智能音响(小爱,叮咚,天猫精灵...)等. 语音识别一般包含三个阶段:热词唤醒,语音录入,识别和逻辑控制阶段. 热词 ...
- jetson nano 安装 snowboy 遇到的问题及处理
Snowboy 是 KITT.AI 开发的一个高度可定制的热词检测引擎,当笔者的 jetson nano 加上话筒后,就立马尝试安装,但在安装过程中却发生了错误,所以把处理方式记录了下来以作备忘. 首 ...
- 树莓派上搭建唤醒词检测引擎 Snowboy
Snowboy 是一款高度可定制的唤醒词检测引擎,可以用于实时嵌入式系统,并且始终监听(即使离线).当前,它可以运行在 Raspberry Pi.(Ubuntu)Linux 和 Mac OS X 系统 ...
- OEL上使用yum install oracle-validated 简化主机配置工作
环境:OEL 5.7 + Oracle 10.2.0.5 RAC 如果你正在用OEL(Oracle Enterprise Linux)系统部署Oracle,那么可以使用yum安装oracle-vali ...
- org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=egmasDS
17:34:37,235 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 17:34:37,281 INFO [ ...
- 如何使用yum 下载 一个 package ?如何使用 yum install package 但是保留 rpm 格式的 package ? 或者又 如何通过yum 中已经安装的package 导出它,即yum导出rpm?
注意 RHEL5 和 RHEL6 的不同 How to use yum to download a package without installing it Solution Verified - ...
- Install and Configure SharePoint 2013 Workflow
这篇文章主要briefly introduce the Install and configure SharePoint 2013 Workflow. Microsoft 推出了新的Workflow ...
- Basic Tutorials of Redis(1) - Install And Configure Redis
Nowaday, Redis became more and more popular , many projects use it in the cache module and the store ...
- Hadoop学习日志- install hadoop
资料来源 : http://www.tutorialspoint.com/hadoop/hadoop_enviornment_setup.htm Hadoop 安装 创建新用户 $ su passwo ...
- 关于bundle install 的一点补充
在第一次运行bundle install之后,生成了Gemfile.lock文件,里面记录gem的具体版本号,按照官方文档说明,以后运行bundle install就不会再依据Gemfile,而是根据 ...
随机推荐
- 用CSS实现带动画效果的单选框
预览一下效果:http://39.105.101.122/myhtml/CSS/singlebox2/singleRadio.html 布局结构为: 1 <div class="rad ...
- js修改css样式
修改宽度: document.getElementById("div1").style.width="200px"; 修改border-radius: docu ...
- 2023-06-24:给你一根长度为 n 的绳子, 请把绳子剪成整数长度的 m 段, m、n都是整数,n > 1并且m > 1, 每段绳子的长度记为 k[0],k[1]...k[m - 1]。 请问
2023-06-24:给你一根长度为 n 的绳子, 请把绳子剪成整数长度的 m 段, m.n都是整数,n > 1并且m > 1, 每段绳子的长度记为 k[0],k[1]...k[m - 1 ...
- C# 集合类 入门
什么是集合类? 集合类的位置在System.Collections.Generic命名空间中. 在我看来,集合类和大学里<数据结构>中所学的各种结构很像.集合类中包含Queue<T& ...
- Rainbond助力“信创应用”迁移上云
Rainbond v5.14.2 版本,又称信创版本.从这个版本开始,开源用户也可以利用 Rainbond 管理符合信创要求的硬件计算资源.在这个版本中,产品团队将此前只在企业版产品中存在的信创相关功 ...
- 统信UOS系统开发笔记(八):在统信UOS上编译搭建mqtt基础环境(版本使用QMQTT::Clinet)
前言 统信uos使用到mqtt开发,需要重新编译mqtt,本篇描述统信uos20上的mqtt源码编译和环境搭建. 注意 这里下载的mqtt版本与其他几篇文章的不同,这里是使用QMQTT:: ...
- 相较于Scrum, 我更推崇精益Kanban,帮助团队建立价值交付流,识别瓶颈问题
最近在学习实践精益Kanban方法,结合自己团队实践Srum的经历,整理些资料二者的差异.相较于Scrum, 我更推崇精益Kaban. Agile是一套理论和原则,就像天边的北极星.Devops是一种 ...
- Windows 交叉编译之 make
以下内容为本人的学习笔记,如需要转载,请声明原文链接微信公众号「ENG八戒」https://mp.weixin.qq.com/s/w8YV_TUb4QwsgChu3AspHg Make 是什么 Mak ...
- Spring-Bean的依赖注入的数据类型
Spring-Bean的依赖注入的数据类型 除了对象的引用可以注入,普通数据类型,集合等都可以在容器中进行注入 数据的三种数据类型 普通数据类型 引用数据类型 集合数据类型 普通数据类型 public ...
- 我真的不想再用mybatis和其衍生框架了选择自研亦是一种解脱
我真的不想再用mybatis和其衍生框架了选择自研亦是一种解脱 文档地址 https://xuejm.gitee.io/easy-query-doc/ GITHUB地址 https://github. ...