Streamlit_authenticator Module not found

I am getting following error when running locally or streamlit cloud.
The error is below:

ile "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/test_st/main.py", line 2, in <module>
    import streamlit_authenticator
ModuleNotFoundError: No module named 'streamlit_authenticator'
2024-02-10 10:54:45.475 503 GET /script-health-check (10.12.104.39) 104.09ms
2024-02-10 10:54:50.368 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/test_st/main.py", line 2, in <module>
    import streamlit_authenticator
ModuleNotFoundError: No module named 'streamlit_authenticator'

My python code just for testing is
import streamlit as st
import streamlit_authenticator

what could be the issue

Do you use requirements.txt?

Maybe streamlit-authenticator is not installed?