Googleスプレッドシートを編集するためにPythonでgpreadを使用しようとしています。このチュートリアルに従いました: http://gspread.readthedocs.org/en/latest/oauth2.html コードを実行すると、oauth2client.client という名前のモジュールがないと表示されます。動作させるために何か他のものをインストールする必要がありますか?
ここで更新 は私のコードです:
import json
import gspread
from oauth2client.client import SignedJwtAssertionCredentials
json_key = json.load(open('GraduationCash-c4b4c0667c75.json'))
scope = ['https://spreadsheets.google.com/feeds']
credentials = SignedJwtAssertionCredentials(json_key['client_email'], json_key['private_key'], scope)
gc = gspread.authorize(credentials)
wks = gc.open("Where is the money Lebowski?").sheet1
raw_input()
また、私はWindows 8を使用しているため、これらのコマンドが機能していないことにも言及する必要があります。利用可能な暗号ライブラリがないとまだ言っています