[英]Error: module 'google.cloud.bigquery_storage' has no attribute 'BigQueryReadClient'
[英]Google cloud texttospeech "has no attribute 'SynthesisInput'" error
https://cloud.google.com/text-to-speech/docs/libraries?hl=pt-br#client-libraries-install-python
在尝试主要的谷歌示例时,我收到了这个错误:
AttributeError Traceback (most recent call last)
<ipython-input-92-866a7868dbb4> in <module>
10
11 # Set the text input to be synthesized
---> 12 synthesis_input = texttospeech.SynthesisInput(text="Hello, World!")
13
14 # Build the voice request, select the language code ("en-US") and the ssml
AttributeError: module 'google.cloud.texttospeech' has no attribute 'SynthesisInput'
有什么建议吗? 使用 conda-forge:google-cloud-texttospeech 1.0.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.