ms-word - 我正在尝试向我的语音助手添加一个功能,如果我在任何时候喊出唤醒词,程序就会开始运行。关于如何做到这一点的任何想法?
问题描述
- 我在 Windows 10 上使用 python 制作了一个助手,现在我正在尝试在其中添加唤醒词检测功能。
- 我看到了一些关于相同的教程,但我无法理解其中的任何一个,并且 1 是由 Logical Spot 工作的,我遇到了麻烦,因为它显示:_No module " pywrap_tensorflow"我无法找到安装它的方法模块。
- 我看过一些关于“Snowboy”之类的教程,但我不明白如何使用它们。
- 任何人都可以帮助我或有任何建议吗?
我得到的错误是:
ImportError: No module named '_pywrap_tensorflow'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tensorflow\python\__init__.py", line 66, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 28, in <module>
_pywrap_tensorflow = swig_import_helper()
File "C:\Users\admin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 20, in swig_import_helper
import _pywrap_tensorflow
ModuleNotFoundError: No module named '_pywrap_tensorflow'
Failed to load the native TensorFlow runtime.
See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
解决方案
嘿,我做了同样的程序,你能帮我用它实现 NLP
推荐阅读
- c# - 类的输出类型 - 启动 selenium 项目时出错
- mysql - Neo4j 可以比 MySQL 更快地处理的简单现实生活场景
- graphql - graphql 在嵌套查询的父或父参数上使用嵌套查询参数
- loopbackjs - Loopback:如何在登录时包含相关模型?
- angular - 角度异步管道未触发来自 NgOnChange 的更改检测
- amazon-s3-select - botocore.exceptions.ClientError:调用 SelectObjectContent 操作时发生错误(InvalidTextEncoding)
- firebase - 填充包含文档引用数组的 Cloud Firestore 文档
- database - 如何使用所有节点上的所有可能资源在 Hadoop 中使用 MapReduce 生成 Hfile?
- firebase - FirebaseFirestore 在 OnCompleteListener、OnSuccessListener、OnCanceledListener 和 OnFailureListener 之间有所不同
- .net - SSO/SAML 与 .NET 应用程序