使用appengine和Ferris,我在尝试使用bulkloader.yaml时收到此错误。
from oauth2client.appengine import CredentialsNDBProperty, StorageByKeyName
ImportError:无法导入名称CredentialsNDBProperty
答案 0 :(得分:0)
仅在部署代码时遇到此问题吗?
在localhost中,如果你在python / site-package中安装了oauth2client,AppEngine devserver就会使用它。但是,当您在App Engine上部署应用程序时,需要在项目中嵌入此库。
第三方库列表包括App Engine python运行时:https://developers.google.com/appengine/docs/python/tools/libraries27