【问题标题】:Python App Engine endpoints_proto_datastore ImportErrorPython App Engine endpoints_proto_datastore ImportError
【发布时间】:2014-05-11 22:39:45
【问题描述】:

所以我的项目根目录中有 endpoints_proto_datastore 文件夹,但每次尝试运行它时都会收到此错误....

File "C:\pythonworkspace\...\endpoints_proto_datastore\utils.py", line 8, in <module>
from endpoints_proto_datastore.ndb import model
ImportError: cannot import name model

有人有什么想法吗?

【问题讨论】:

    标签: python google-app-engine app-engine-ndb endpoints-proto-datastore


    【解决方案1】:

    我认为你应该使用

    从 endpoints_proto_datastore.ndb 导入 EndpointsModel

    【讨论】:

      猜你喜欢
      • 2011-03-18
      • 1970-01-01
      • 2013-09-14
      • 2021-11-26
      • 2018-06-15
      • 1970-01-01
      • 2011-12-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多