Google Calendar API Python-KeyError:_module

时间:2018-07-18 14:46:56

标签: oauth google-api debian google-calendar-api rocket.chat

我正在尝试使用rocketchat-google-calendar,但似乎是一个Debian问题:googleapiclient.errors.HttpError · Issue #4 · koyan/rocketchat-google-calendar

我正在尝试使用quickstart.py(https://developers.google.com/gmail/api/quickstart/python),但出现以下错误:

python quickstart.py
Traceback (most recent call last):
  File "quickstart.py", line 29, in <module>
    creds = store.get()
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 407, in get
    return self.locked_get()
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/file.py", line 54, in locked_get
    credentials = client.Credentials.new_from_json(content)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 302, in new_from_json
    module_name = data['_module']
KeyError: '_module'

这不是this帖子的重复


0 个答案:

没有答案