使用Eclipse从谷歌应用引擎导入模块时遇到问题

时间:2016-09-23 01:21:36

标签: python eclipse google-app-engine-python

我正在使用PyDev在Eclipse上编写应用程序,我的目标是将其部署在Google App Engine上。我正在尝试运行此处找到的代码https://cloud.google.com/bigquery/create-simple-app-api,但我收到导入错误:

Traceback (most recent call last):
  File "/Users/alexballack13/Documents/workspace/BigQuery2/src/query.py", line 8, in <module>
    from googleapiclient.discovery import build
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/googleapiclient/discovery.py", line 57, in <module>
    from googleapiclient.errors import HttpError
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/googleapiclient/errors.py", line 31, in <module>
    from oauth2client import _helpers as util
ImportError: cannot import name _helpers

我尝试过做别人建议的事情:ImportError: No module named apiclient.discovery,但仍未成功。有没有人遇到过&#34; name _helpers&#34;?

0 个答案:

没有答案