Streamlit authenticator - seems not to be found

even with the requirements.txt file like this:

requirements.txt

streamlit-authenticator==0.1.5

i got always this error if i try to create the app:
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.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
    exec(code, module.__dict__)File "/mount/src/f8_zsc_gck_streamlit/Exporter.py", line 5, in <module>
    import streamlit_authenticator as stauth

please can someone help.

Hey @John_Pilonie,

Can you please share the link to your GitHub repo and the link to your deployed app?

hi @John_Pilonie
It seems like the issue is related to the streamlit-authenticator library. The error you’re seeing, ModuleNotFoundError , indicates that the library cannot be found. This could be due to the library not being installed or not being compatible with the version of Streamlit you’re using.

thanks. yes that was the issue. now it works

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