AutoVoice Error when executing googlesamples.assistant

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

  1. alien8er

    alien8er New Member

    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

    I'm also getting this error: cannot import name 'assistant_helpers'
     
  3. John Edens

    John Edens New Member

  4. joaomgcd

    joaomgcd Administrator Staff Member

    Sorry about this everyone. I have to try and figure out if I can get this working again.
     
  5. antonolsson

    antonolsson New Member

: autovoice

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice