0
import gspread

rest of the code.

error :

Traceback (most recent call last): File "C:\QSTK\Examples\MyCodes\gspread.py", line 1, in import gspread

when i try to run the code in spyder i get this error.

the code works fine in python idle

piresashwin
  • 155
  • 4
  • 13

1 Answers1

0

Rename your script. You named it the same as a module you are trying to use, gspread, this causes a circular dependency.

piokuc
  • 25,594
  • 11
  • 72
  • 102