pyodbc.Error: 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/script_runner.py", line 600, in _run_script
exec(code, module.__dict__)File "/mount/src/yorumanalizi/pages/login.py", line 139, in <module>
main()File "/mount/src/yorumanalizi/pages/login.py", line 125, in main
PgCon01 = ms.connect(constr)
^^^^^^^^^^^^^^^^^^
Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'driver' :
file not found (0) (SQLDriverConnect)")
[packages.txt]
unixodbc-dev
mssql-tools
msodbcsql17
sqlcmd
[requirements.txt]
pandas
plotly
streamlit
streamlit_navigation_bar
streamlit_extras
pyodbc
numpy
keyboard
please help me