ModuleNotFoundError: No module named ‘streamlit_option_menu’ during deployment

Hi, I have problem during deploying, the error says ```
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.

2023-05-04 22:06:37.697 Uncaught app exception

Traceback (most recent call last):

File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script

exec(code, module.__dict__)

File “/app/facerecognitionweb/app.py”, line 5, in

from streamlit_option_menu import option_menu

ModuleNotFoundError: No module named ‘streamlit_option_menu’


can anyone help me? I tried to deploy it for my final project thanks

and this is my GitHub repo

  • The file name requirements.txt has a typo (a dot at the end)
  • The content of this file will also not work, remove all the binary packages

so on requirements.txt only have cmake,streamlit==1.11.1 and
streamlit_option_menu==0.3.2 ?

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