StatusCode.UNAUTHENTICATED Google助手Windows 10 [英] StatusCode.UNAUTHENTICATED Google assistant Windows 10

查看:258
本文介绍了StatusCode.UNAUTHENTICATED Google助手Windows 10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows计算机上运行google助手,并且一直在遵循此指南:

I am trying to run google assistant on my windows computer and have been following this guide: XDA developers guide

当我跑步时:

python -m googlesamples.assistant.grpc.pushtotalk

,然后按Enter键,所以发送命令时出现以下错误:

and then hit enter so send a command I get the following error:

Traceback (most recent call last):
  File "C:\Program Files\Python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Program Files\Python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python36\lib\site-packages\googlesamples\assistant\grpc\pushtotalk.py", line 328, in <module>
    main()
  File "C:\Program Files\Python36\lib\site-packages\click\core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "C:\Program Files\Python36\lib\site-packages\click\core.py", line 697, in main
    rv = self.invoke(ctx)
  File "C:\Program Files\Python36\lib\site-packages\click\core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Program Files\Python36\lib\site-packages\click\core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "C:\Program Files\Python36\lib\site-packages\googlesamples\assistant\grpc\pushtotalk.py", line 317, in main
    continue_conversation = assistant.converse()
  File "C:\Program Files\Python36\lib\site-packages\tenacity\__init__.py", line 87, in wrapped_f
    return r.call(f, *args, **kw)
  File "C:\Program Files\Python36\lib\site-packages\tenacity\__init__.py", line 235, in call
    do = self.iter(result=result, exc_info=exc_info)
  File "C:\Program Files\Python36\lib\site-packages\tenacity\__init__.py", line 194, in iter
    return fut.result()
  File "C:\Program Files\Python36\lib\concurrent\futures\_base.py", line 425, in result
    return self.__get_result()
  File "C:\Program Files\Python36\lib\concurrent\futures\_base.py", line 384, in __get_result
    raise self._exception
  File "C:\Program Files\Python36\lib\site-packages\tenacity\__init__.py", line 238, in call
    result = fn(*args, **kwargs)
  File "C:\Program Files\Python36\lib\site-packages\googlesamples\assistant\grpc\pushtotalk.py", line 110, in converse
    self.deadline):
  File "C:\Program Files\Python36\lib\site-packages\grpc\_channel.py", line 349, in __next__
    return self._next()
  File "C:\Program Files\Python36\lib\site-packages\grpc\_channel.py", line 343, in _next
    raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNAUTHENTICATED, Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com
/identity/sign-in/web/devconsole-project.)>

推荐答案

您只需要等待他们解决该问题,该错误就在Google的一边.这是他们在github上打开的问题:

You just have to wait until they fix that, the bug is on Google's side. Here is the issue they opened at github:

https://github.com/googlesamples/assistant-sdk-python/issues/138

这篇关于StatusCode.UNAUTHENTICATED Google助手Windows 10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆