shivasiddharth / Assistants-Pi

Headless Google Assistant and Alexa on Raspberry Pi
342 stars 116 forks source link

Pi freezes at 97% while installing alexa #139

Open sagarumathe opened 4 years ago

sagarumathe commented 4 years ago

I followed the readme file and while installing alexa, it downloaded files successfully and while extracting them the screen freezes at 97% and the pi restarts after some time. Not being able to proceed forward. I am using a raspberry pi 3B with raspbian buster OS

gudiom commented 4 years ago

Try the following to build it manually:

cd /home/pi/Assistants-Pi/Alexa/build
sudo cmake /home/pi/Assistants-Pi/Alexa/avs-device-sdk \
 -DSENSORY_KEY_WORD_DETECTOR=ON \
 -DSENSORY_KEY_WORD_DETECTOR_LIB_PATH=/home/pi/Assistants-Pi/Alexa/third-party/alexa-rpi/lib/libsnsr.a \
 -DSENSORY_KEY_WORD_DETECTOR_INCLUDE_DIR=/home/pi/Assistants-Pi/Alexa/third-party/alexa-rpi/include \
 -DGSTREAMER_MEDIA_PLAYER=ON \
 -DPORTAUDIO=ON \
 -DPORTAUDIO_LIB_PATH=/home/pi/Assistants-Pi/Alexa/third-party/portaudio/lib/.libs/libportaudio.a \
 -DPORTAUDIO_INCLUDE_DIR=/home/pi/Assistants-Pi/Alexa/third-party/portaudio/include
sudo make

Then restart the installer:

sudo /home/pi/Assistants-Pi/scripts/installer.sh