Gspread erroe


Joined
Oct 11, 2021
Messages
1
Reaction score
0
Any ideas why I am getting this error?

---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-10-ff21a46490d0> in <module>
9
10 import gspread as gs
---> 11 gc =gs.service_account(filename='sxxxxxxxxxxxx.json')
12
13 sh = gc.open_by_url('https://drive.google.com/file/d/xxxxxxx/view')

AttributeError: module 'gspread' has no attribute 'service_account'
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top