Cannot Import Gspread

I’m making an application form and contact form for an agency using excel spreadsheets and gspread. The code works as expected in my machine. The gspread package is working fine for my machine. In vercel, I’m not able to import the module while having it in my requirements.txt file.

Also there are no errors in the build logs and it correctly installs the other dependencies such as flask.

Requirements.txt:

gspread==6.2.0
google-auth
google-auth-oauthlib
google-auth-httplib2
pandas
flask
openpyxl

The project is running on flask.

Hi @nixonxc, welcome to the Vercel Community!

Sorry that you are facing this issue.

Can you share the runtime logs from Vercel? Also, can you confirm that the Python version you are running locally is same as Vercel? (3.12 is supported).