【问题标题】:Content API for Shopping - No module named google_auth_httplib2Content API for Shopping - 没有名为 google_auth_httplib2 的模块
【发布时间】:2022-11-08 22:56:08
【问题描述】:

我正在关注下面的链接,目的是实现用于购物的 Google API:

https://developers.google.com/shopping-content/guides/quickstart/making-an-api-call

但是当我插入下面的命令时:

python -m shopping.content.products.my-insert

我遇到这个错误:

No module named google_auth_httplib2

每当我运行以下命令来测试是否安装了 google auth 时:

pip install --upgrade google-auth-oauthlib[tool]

我收到以下消息:

Requirement already satisfied

我不知道如何解决这个问题很抱歉,非常感谢大家的帮助。

【问题讨论】:

    标签: python python-3.x terminal google-api-python-client


    【解决方案1】:

    您应该安装 google-auth-httplib2 而不是 google-auth-oauthlib

    pip install google-auth-httplib2
    

    【讨论】:

      猜你喜欢
      • 2017-06-24
      • 2017-04-12
      • 2014-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-09-29
      相关资源
      最近更新 更多