Assistant.py doesn't start
Bendumo opened this issue · comments
Hi,
I followed every steps and the "Google démo" work well but i can't find a way tout start the python script. I tried with "sudo python assistant.py" in the folder "mmm-googleassistant/pi" or in the home folder but none of them seem to work.
Have you got an Idea ?
Or can you describe the steps after the Google demo please.
Thanks.
Benjamin.
do you see any error?
Hey,
When I try to do it in the /home/pi folder, there is this error : "pi@MagicMirror:~ $ sudo python /home/pi/env/bin/python3 -u assistant.py File "/home/pi/env/bin/python3", line 1 SyntaxError: Non-ASCII character '\xc9' in file /home/pi/env/bin/python3 on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for detai ls"
and when i just try pi/assistant.py
in the home folder there is this error : Traceback (most recent call last): File "assistant.py", line 24, in <module> import google.oauth2.credentials ImportError: No module named google.oauth2.credentials
thanks.
EDIT : I try an other thing and this is the ouput pubnub subscription completed Exception in subscribe loop: HTTP Client Error (400): {"message":"Invalid Subscribe Key","error":true,"service":"Access Manager","status":400}
Ok my bad ... I switch the publish and the subscribe key ... Sorry.
Now i can see Hello from python
and everything work well.
Thanks !
@Bendumo what did you do to fix the no module named google.oauth2.credntials issue?
I am almost done with my mirror but I need help fixing this issue!