dav977
Posts: 2
Joined: Mon Feb 12, 2018 12:04 pm

cant run file assistant_library_demo.py

Mon Feb 12, 2018 6:23 pm

When i try to run the file assistant_library_demo.py i get the module import error due to
aiy.assistant.auth_helpers. it either says no module named aiy (python version 3.5) or it says (in raspberry pi) no module named aiy.assistant.auth_helpers (python version 2.7). When i try to install the module 'aiy.assistant.auth_helpers', it gives me error again.

For the file assistant_grpc_demo.py also i get the module import error for aiy.assistant.gprc. I cloned and downloaded it in my /Desktop in the raspberry pi and my assistant.json file is in /home/pi path.

How to sort it out?
Thank you.

User avatar
topguy
Posts: 6527
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: cant run file assistant_library_demo.py

Mon Feb 12, 2018 11:50 pm

Did you remember to go into the python virtual environment ?

Return to “AIY Projects”