I’m having issues with a very basic snowflake connection that works well on my local. My simplified app is at this URL:
My github repository is: DataApps/simpletest.py at main · ravila3/DataApps
I’m using python 3.11 with a requirements file and secrets which work well on local.
Here’s the error I’m getting:
ModuleNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).
Traceback:
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)File "/mount/src/dataapps/simpletest.py", line 5, in <module>
conn = st.connection("snowflake")
^^^^^^^^^^^^^^^^^^^^^^^^^^File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/connection_factory.py", line 436, in connection_factory
raise ModuleNotFoundError(f"{str(e)}. {extra_info}")
Appreciate any help you could provide! I’ve been trying to fix way too long!