Start Virtual Env and Alexa at Startup.

info about ReSpeaker series products

Moderators: lily.li, violet, salmanfarisvp, seth.welday

Post Reply
dbeard
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Thu Sep 20, 2018 9:08 am

Start Virtual Env and Alexa at Startup.

Post by dbeard » Thu Sep 20, 2018 9:11 am

On the console I execute the following commands and I can start Alexa.

pi@raspberrypi:~ $ source ~/env/bin/activate
(env) pi@raspberrypi:~/avs $ cd ~/4mics_hat
(env) pi@raspberrypi:~/4mics_hat $ python ns_kws_doa_alexa_with_light.py


How do I get this to run automatically upon boot?

Thanks
David

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: Start Virtual Env and Alexa at Startup.

Post by bill.yu » Wed Sep 26, 2018 5:26 pm

Hi David,

please refer to https://www.raspberrypi.org/documentati ... c-local.md thanks.

cheers
Bill

Post Reply