更新,我看到api被碰撞了,所以我更新了麦克风流示例也失败了,所以我改用它:
我说的是“这是stackoverflow的测试”,然后等待它超时。在
C:\gcp\python-docs-samples\speech\cloud-client>apitest\Scripts\python transcribe_streaming_mic.py
this is a test for stack overflow
Traceback (most recent call last):
File "transcribe_streaming_mic.py", line 193, in <module>
main()
File "transcribe_streaming_mic.py", line 189, in main
listen_print_loop(responses)
File "transcribe_streaming_mic.py", line 128, in listen_print_loop
for response in responses:
File "C:\gcp\python-docs-samples\speech\cloud-client\apitest\lib\site-packages\grpc\_channel.py", line 351, in next
return self._next()
File "C:\gcp\python-docs-samples\speech\cloud-client\apitest\lib\site-packages\grpc\_channel.py", line 342, in _next
raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.ABORTED, The operation was aborted.)>
环境:
^{pr2}$
这是版本之间的问题。在
使用最新版本进行全新安装并更新代码以反映api中的新更改修复了此问题。在
相关问题 更多 >
编程相关推荐