我正在尝试使用 gspread 登录我的 Google 帐户。但是,它只是超时Socket Errno 10060。我已经在我的电子邮件上激活了 POP 和 IMAP 访问。
import gspread
print 1
gc = gspread.Client(auth=('***@gmail.com', '*****'))
print 2
gc.login()
print 2
sht = gc.open_by_url('https://docs.google.com/spreadsheets/d/1XEThXRqWc_Vs4j_6oIuSPXoybj7aUp4h3g1bqPnBzRM/edit#gid=0')
print 3
val = sht.acell('B1').value
我的错误http://tinypic.com/r/ws0ndh/8
谢谢大家!