alexa-auth error with ReSpeaker 6

Applications/questions using Raspberry Pi with Seeed products, please post it here.

Moderators: lily.li, violet, salmanfarisvp

Post Reply
seppstefano
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Wed Apr 17, 2019 10:57 pm

alexa-auth error with ReSpeaker 6

Post by seppstefano » Wed Apr 17, 2019 10:59 pm

Hi all,
while following the step by step instructions I got following error. Can you please provide any help? Thanks a lot in advance.

Stefano

(env) pi@raspberrypi:~/avs $ alexa-auth
Traceback (most recent call last):
File "/home/pi/env/bin/alexa-auth", line 11, in <module>
load_entry_point('avs==0.5.4', 'console_scripts', 'alexa-auth')()
File "/home/pi/env/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/pi/env/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
return ep.load()
File "/home/pi/env/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2291, in load
return self.resolve()
File "/home/pi/env/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2297, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/pi/env/local/lib/python2.7/site-packages/avs-0.5.4-py2.7.egg/avs/auth.py", line 9, in <module>
import tornado.httpserver
File "/home/pi/env/local/lib/python2.7/site-packages/tornado-6.0.2-py2.7-linux-armv7l.egg/tornado/httpserver.py", line 144
def __init__(self, *args: Any, **kwargs: Any) -> None:
^
SyntaxError: invalid syntax

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

Re: alexa-auth error with ReSpeaker 6

Post by bill.yu » Thu Apr 18, 2019 5:09 pm

Hi there,

You can try the image, we burned with the driver and avs. you can directly use the 2018-08-06-raspbian-for-respeaker.zip image, run

Code: Select all

 alexa-auth
with virtual environment. there is one area you have to pay attention to is that you have the close the pop up web browser, open the chrome browser and do the authorization. thanks.

https://v2.fangcloud.com/share/7395fd13 ... 8000207913

Post Reply