导入错误:没有名为endpoints_proto_datastore.ndb的模块
我在使用 Python 的 Endpoints API 时,无法导入模块 endpoints_proto_datastore.ndb
。有没有人遇到过类似的问题?请告诉我可能是什么原因。
我正在使用 Google App Engine SDK 1.7.5 来进行 Python 开发。
1 个回答
4
看起来你在使用一个第三方库,因为 endpoints_proto_datastore
不是 App Engine SDK 的核心部分。
简单来说,你需要把这个库包含到你的项目里,并确保它在正确的路径下。想了解更多细节,可以参考这个 回答。