We Are Going To Discuss About TypeError: Credentials need to be from either oauth2client or from google-auth. So lets Start this Python Article.
TypeError: Credentials need to be from either oauth2client or from google-auth
- [Solved] TypeError: Credentials need to be from either oauth2client or from google-auth
I had the same problem today and found this answer: https://github.com/burnash/gspread/issues/1014#issuecomment-1082536016
- Credentials need to be from either oauth2client or from google-auth
I had the same problem today and found this answer: https://github.com/burnash/gspread/issues/1014#issuecomment-1082536016
Solution 1
I had the same problem today and found this answer: https://github.com/burnash/gspread/issues/1014#issuecomment-1082536016
I finally solved it by replacing the old code with this one:
from google.colab import auth
auth.authenticate_user()
import gspread
from google.auth import default
creds, _ = default()
gc = gspread.authorize(creds)
Original Author Dj Melmac Of This Content
Conclusion
So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.