【问题标题】:How to install google cloud sdk on python 3.5.2 [duplicate]如何在python 3.5.2上安装google cloud sdk [重复]
【发布时间】:2018-10-04 14:26:48
【问题描述】:

我正在按照指南安装 google cloud sdk。但是当我使用语句时

from google.appengine.ext import ndb

我收到一个错误,没有名为 google.apengine.ext 的模块。我认为这是由于我的 google cloud sdk 没有安装在 Python 3.5 中。所以我的问题是如何在 Python 3.5 中安装该包。是否有可能将其安装在虚拟环境中?

【问题讨论】:

    标签: django python-3.x google-app-engine app-engine-ndb


    【解决方案1】:

    ndb 客户端库仅在 Python 2.7 应用程序的标准环境中受支持。来自Using the ndb client library

    ndb 客户端库与 Python 3.7 运行时不兼容。 如需更多信息,请参阅differences between the Python 2.7 and Python 3.7 runtimes on the App Engine standard environment

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-03-23
      • 1970-01-01
      • 1970-01-01
      • 2018-02-10
      • 1970-01-01
      • 2019-06-11
      • 2020-04-12
      相关资源
      最近更新 更多