Page 1 of 1

alexa-auth error with ReSpeaker 6

Posted: Wed Apr 17, 2019 10:59 pm
by seppstefano
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

Re: alexa-auth error with ReSpeaker 6

Posted: Thu Apr 18, 2019 5:09 pm
by bill.yu
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