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

Illegal instruction #1

Open
Nixellion opened this issue Feb 13, 2019 · 3 comments
Open

Illegal instruction #1

Nixellion opened this issue Feb 13, 2019 · 3 comments

Comments

@Nixellion
Copy link

I keep getting this error: "Illegal instruction", and nothing else while trying to run any of the examples from here: https://github.com/respeaker/respeaker_for_raspberrypi

I narrowed it down to this command:
ns = NS(rate=src.rate, channels=1)

I've installed provided raspbian image with everything preinstalled.

Anything?

@xiongyihui
Copy link
Collaborator

Are you using Pi Zero?
I should add a note that these images only support Pi 2/3. Pi Zero uses ARM11, while Pi 2/3 use ARM Cortex A.

@Nixellion
Copy link
Author

I see. Everything else works fine though. I suppose it's more about voice engine than it is about the image itself?

I'll see if I can make porcupine work instead of snowboy. Thanks.

@xiongyihui
Copy link
Collaborator

It's a issue of pre-compiled python packages. The NS element is based on webrtc-audio-processing python library. For Pi Zero, we need to re-compile the package:

sudo pip install --force-reinstall  webrtc-audio-processing

It's the same for snowboy. Compile and re-install it. It should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants