AutoVoice Error when executing googlesamples.assistant

Discussion in 'AutoApps' started by alien8er, May 23, 2017.

  1. alien8er

    alien8er New Member

    Joined:
    May 23, 2017
    Messages:
    1
    Likes Received:
    0
    Hi,
    I have setup the Google Assistant in Windows 10 following the directions here: https://www.xda-developers.com/how-to-get-google-assistant-on-your-windows-mac-or-linux-machine/ to some degree. I had to alter a few changes to get past some errors.
    I had to follow the directions here: https://pypi.python.org/pypi/google-assistant-sdk/0.3.0 to get the voice commands going. I'm able to launch the assistant through the python command prompt and get it to respond there, however, I can't get the responses through the Chrome AutoVoice extension.
    When I run the command below I get an error on the last line that I cannot find a solution to. Does this have to do with the version of Python I have installed requiring a newer version of the service?

    C:\Users\xxxxx>py -c "from distutils.sysconfig import get_python_lib; from urllib.request import urlretrieve; urlretrieve('https://joaoapps.com/AutoApps/Help/Info/com.joaomgcd.autovoice/googleassistant/__main__.py', get_python_lib() + '/googlesamples/assistant/__main__.py')"

    C:\Users\xxxxx>py -m googlesamples.assistant
    Traceback (most recent call last):
    File "C:\Users\xxxxx\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
    File "C:\Users\xxxxx\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
    File "C:\Users\xxxxx\AppData\Local\Programs\Python\Python36\lib\site-packages\googlesamples\assistant\__main__.py", line 24, in <module>
    from . import (
    ImportError: cannot import name 'assistant_helpers'​
     
  2. Nathan323

    Nathan323 New Member

    Joined:
    Aug 5, 2016
    Messages:
    17
    Likes Received:
    0
    I'm also getting this error: cannot import name 'assistant_helpers'
     
  3. John Edens

    John Edens New Member

    Joined:
    Oct 6, 2017
    Messages:
    4
    Likes Received:
    0
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Sorry about this everyone. I have to try and figure out if I can get this working again.
     
  5. antonolsson

    antonolsson New Member

    Joined:
    Jul 14, 2018
    Messages:
    1
    Likes Received:
    0
: autovoice

Share This Page