【问题标题】:ImportError: cannot import name 'speech' from 'google.cloud' (unknown location)ImportError:无法从“google.cloud”(未知位置)导入名称“speech”
【发布时间】:2019-11-08 09:45:23
【问题描述】:

我使用pip install google-cloud为系统安装了google.cloud

但下一个错误我有ImportError: cannot import name 'speech' from 'google.cloud' (unknown location)

如何纠正这个错误?

【问题讨论】:

  • 'pip install google-cloud-speech'
  • 您还可以确保为正确的 python 版本安装了它。我最初做了python -m pip install google-cloud-speech,但需要做python3 -m pip install google-cloud-speech

标签: python google-speech-api


【解决方案1】:
pip install google-cloud-speech

这为我解决了错误

【讨论】:

    猜你喜欢
    • 2021-02-06
    • 2021-03-21
    • 2019-02-26
    • 2020-12-29
    • 2021-01-16
    • 2022-01-24
    • 2021-03-12
    • 1970-01-01
    • 2020-09-13
    相关资源
    最近更新 更多