gspread error:gspread.exceptions.SpreadsheetNotFound

Error message:

Traceback (most recent call last):
  File "read_google_sheet.py", line 20, in <module>
    wks = gc.open_by_key("1jUJOlICOH6VnyuALdU2VAc_Ci_ZVwdW-xc5kr_qkJHY")
  File "/usr/lib/python2.7/site-packages/gspread/client.py", line 113, in open_by_key
    raise SpreadsheetNotFound
gspread.exceptions.SpreadsheetNotFound


Solved:

In the json file, there is a "client_email".
You need to share your file with this email. 


Comments

Popular posts from this blog

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

转载:彻底搞清楚promoter, exon, intron, and UTR