我正在关注 Google Drive SDK ( https://developers.google.com/drive/quickstart#set_up_the_sample ) 的快速启动页面的示例 python 代码并得到错误
Traceback (most recent call last):
File "quickstart.py", line 45, in <module>
file = drive_service.files().insert(body=body, media_body=media_body).execute()
File "build/bdist.macosx-10.7-intel/egg/oauth2client/util.py", line 120, in positional_wrapper
File "build/bdist.macosx-10.7-intel/egg/apiclient/http.py", line 656, in execute
File "build/bdist.macosx-10.7-intel/egg/oauth2client/util.py", line 120, in positional_wrapper
File "build/bdist.macosx-10.7-intel/egg/apiclient/http.py", line 733, in next_chunk
apiclient.errors.ResumableUploadError: Failed to retrieve starting URI.
输入验证码后。这些步骤相当简单,所以我想知道示例代码是否已过时(尽管我没有看到其他人遇到此错误,所以它似乎可能与我的设置有关,但我不确定那会是什么)。谢谢你的帮助。