Gspread issues (Google Sheet ..dynamic text inputs )

I have a public facing google sheet and am deploying an app that takes text input and sends it to a google sheet.

I continue to run into the error:

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 564, in _run_script
    exec(code, module.__dict__)File "/app/photo_app_master/streamlit_app.py", line 11, in <module>
    import gspread

It cant seem to find gspread to install. Can anyone help me debug i have already used this tutorial to put my secrets in a toml file Connect Streamlit to a private Google Sheet - Streamlit Docs

BUT ^^ I am trying to use gspread NOT gsheetsdb.

Can anyone help?

Do you have gspread included in your requirements file?

(Generally the app will respond automatically to an updated requirements file and install added dependencies in your repository, but if it the deployment gets stuck after conflicting changes, you can manually reboot it from the three dots menu in the Streamlit Cloud admin panel.)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.