Can't Get Alexa to work

info about ReSpeaker series products

Moderators:, salmanfarisvp, violet, seth.welday

Post Reply
Posts: 1
Joined: Wed Mar 06, 2019 11:32 am

Can't Get Alexa to work

Post by nkhan45 » Wed Mar 06, 2019 11:43 am

I have Spent many days on getting Alexa to work with the Respeaker and cannot get it to work.
I have a Pi 3 Model B+
And a Respeaker 4 Mic Array HAT

When I run python or I get

Traceback (most recent call last):
File "", line 13, in <module>
from voice_engine.source import Source
ImportError: No module named voice_engine.source

Sometimes I also get
File "", line 20
from avs.alexa import Alexa
IndentationError: unexpected indent

Can someone help me get Alexa working completely
Thank you

Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: Can't Get Alexa to work

Post by bill.yu » Mon Mar 18, 2019 4:51 pm

Hi there,

1. it seems voice engine is not installed correctly. please try below steps.

git clone
cd voice-engine
python bdist_wheel
pip install dist/*.whl

2. you also can download the image with driver and alexa setup. ... 8000207913

first, if you want to use the interactive function, please enter alexa-auth to apply for authorization. After the authorization is successful, the .avs.json file will be generated in the /home/pi directory, and then the interactive function can be used.

second, there will be a respeaker routine folder in the /home/pi directory, which can be used depending on the mic used. You can update it by executing the git pull origin master command in the related directory. then you can run the python code to active the respeaker. thanks.

Post Reply