Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: access_key should be a non-empty string. #323

Open
hfasi opened this issue Apr 8, 2024 · 7 comments
Open

ValueError: access_key should be a non-empty string. #323

hfasi opened this issue Apr 8, 2024 · 7 comments
Assignees
Labels
operation problem 用户操作问题

Comments

@hfasi
Copy link

hfasi commented Apr 8, 2024

安装方式

手动安装

操作系统

Ubuntu22.04

离线唤醒相关

问题描述

具体说明下问题
ValueError: access_key should be a non-empty string.
请问在哪里修改access_key

具体log如下:
Traceback (most recent call last):
File "/home/rob/github/wukong/wukong-robot/wukong.py", line 188, in
wukong.run()
File "/home/rob/github/wukong/wukong-robot/wukong.py", line 95, in run
detector.initDetector(self)
File "/home/rob/github/wukong/wukong-robot/robot/detector.py", line 28, in initDetector
porcupine = pvporcupine.create(
File "/home/rob/anaconda3/envs/wukong/lib/python3.9/site-packages/pvporcupine/_factory.py", line 69, in create
return Porcupine(
File "/home/rob/anaconda3/envs/wukong/lib/python3.9/site-packages/pvporcupine/_porcupine.py", line 143, in init
raise ValueError("access_key should be a non-empty string.")
ValueError: access_key should be a non-empty string.

@hfasi hfasi added the operation problem 用户操作问题 label Apr 8, 2024
@wzpan
Copy link
Owner

wzpan commented Apr 15, 2024

image

access_key 需要填写。

@vdogmcgee
Copy link

请问一下填写access key的路径在哪里呢? 以及默认的唤醒词是什么呢?

@vdogmcgee
Copy link

楼主能分享下你在ubuntu22.04手动安装的步骤吗,我照着官方的教程死活装不上,swig那里一直提示我找不到目录,感谢!

@litte-lucky-star
Copy link

图像 access_key 需要填写。

屏幕截图 2024-09-30 163714
大佬为啥我填完access key 还是报错File "/usr/local/lib/python3.9/dist-packages/pvporcupine/_porcupine.py", line 158, in init
raise IOError("Couldn't find keyword file at '%s'." % x)

@DT-stone
Copy link

图像 access_key需要填写。

屏幕截图 2024-09-30 163714 大佬为啥我填完access key还是报错File "/usr/local/lib/python3.9/dist-packages/pvporcupine/_porcupine.py", line 158, in init raise IOError("Couldn't find keywords file在“%s”。" % x)

老哥hello-bing_en_raspberry-pi_v3_0_0.ppn 找不到的问题解决了吗

@SilaLiu
Copy link

SilaLiu commented Oct 31, 2024

楼主能分享下你在ubuntu22.04手动安装的步骤吗,我照着官方的教程死活装不上,swig那里一直提示我找不到目录,感谢!

这个要源码编译一个

@SilaLiu
Copy link

SilaLiu commented Oct 31, 2024

image access_key 需要填写。
图像 access_key 需要填写。

屏幕截图 2024-09-30 163714 大佬为啥我填完access key 还是报错File "/usr/local/lib/python3.9/dist-packages/pvporcupine/_porcupine.py", line 158, in init raise IOError("Couldn't find keyword file at '%s'." % x)

我也是这样的,请问大佬解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operation problem 用户操作问题
Projects
None yet
Development

No branches or pull requests

6 participants