Gspread installing fine in workspace, but when deploying getting ModuleNotFoundError: No module named 'gspread'

I have a simple app that’s using the gspread package to access a Google Sheet as a DB. It works fine in the workspace but when I try to deploy it is saying it cannot find the module.

I’m simply putting import gspread at the top of

Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

Not sure if relevant but I’m using the following deploy type:
Reserved VM (0.25 vCPU / 1 GiB RAM)

Hello @Brandonmchu!

You could set the build command of your deployment to poetry add gspread.

Unfortunately this didn’t work.

I got the deploy to be successful by adding run = "poetry install && python3" into the .replit file, but once in production its still giving me the following errors trying to import gpsread