【问题标题】:No module named apiclient.discovery没有名为 apiclient.discovery 的模块
【发布时间】:2016-09-03 15:05:36
【问题描述】:

我在 Google App Engine 的 Python 中遇到了这个错误,但我不知道如何解决,

我在我的项目目录中添加了以下文件夹:

apiclient、gflags、httplib2、oauth2client、uritemplate

但我总是遇到同样的错误

【问题讨论】:

标签: google-app-engine google-api-client


【解决方案1】:

这是Jorvis' answerCommunity Wiki 的帖子

apiclient.discovery 服务是Google API Client Library 的一部分。因此,您可以使用提供的命令(例如 Python)安装客户端库:

pip install --upgrade google-api-python-client

这将解决任何supported APIs 的“没有命名的模块 ...”警告。

【讨论】:

  • 不要重复答案(即使是 CW)。如果那个答案回答了这个问题,那么这个问题应该被标记/投票作为重复关闭。
猜你喜欢
  • 2020-11-04
  • 1970-01-01
  • 1970-01-01
  • 2019-03-28
  • 2017-12-30
  • 2013-08-18
  • 2018-01-06
  • 2018-11-11
  • 2015-04-10
相关资源
最近更新 更多