ModuleNotFoundError: This app has encountered an error.

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 556, in _run_script
    exec(code, module.__dict__)File "/app/webapp/demo.py", line 5, in <module>
    from streamlit_option_menu import option_menu

Hi @Rishi123-png23,

Thanks for posting!

Can you share your requirements.txt file?

Caroline :balloon:

I’m getting the same error. Can anyone help?
My Github Link: https://github.com/ShyamaleeT/glaucocare
Requirement.txt: https://github.com/ShyamaleeT/glaucocare/blob/main/requirements.txt

@Thisara_Shyamalee It looks like you’re referencing skimage.transform in your requirements.txt, but it should be scikit-image, based on Installing scikit-image — skimage v0.19.2 docs

I’m getting this same error. Please, I need help.
Github link- Ajinuhi-source (Ajinuhi Oluwabunmi Faith) · GitHub
Requirement.txt: Youtube-Channel-Analysis/requiremennts.txt at Main.py · Ajinuhi-source/Youtube-Channel-Analysis · GitHub

Hi @Ajinuhi-source, welcome to the community! :balloon:

There’s an extra n in your dependency filename: requiremennts.txt. Replacing that with requirements.txt should help.

Thank You

I am getting this error
App link: https://atuad7535-auto-ml-main-app-y6zo1k.streamlit.app/
Code File: Auto_ML/main_app.py at main · atuad7535/Auto_ML · GitHub


Hey @AhmedRamadan74,

This topic has been closed – please create a new post for your question and include a code snippet + link to your GitHub repository