ModuleNotFoundError: No module named 'streamlit_option_menu' when I synchronise

Hello everyone and thanks for the help

put the dependencies in packages.txt
streamlit_option_menu

but I still get the same error

[15:40:59] ๐Ÿ™ Pulling code changes from Github...
[15:41:00] ๐Ÿ“ฆ Processing dependencies...
[15:41:00] ๐Ÿ“ฆ Apt dependencies were installed from /mount/src/pf_ml/packages.txt using apt-get.
[15:41:00] ๐Ÿ“ฆ Processed dependencies!
[15:41:02] ๐Ÿ”„ Updated app!
2023-10-13 15:41:12.988 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/pf_ml/main.py", line 3, in <module>
    import streamlit_option_menu
ModuleNotFoundError: No module named 'streamlit_option_menu'

image

pf_ml/packages.txt at main ยท jachcastro/pf_ml (github.com)

Streamlit (pfmljl3.streamlit.app)

In order for the changes made to requirements.txt to take effect, you must press โ€˜Reboot appโ€™.

Para que haga efecto los cambios hechos en requeriments.txt sebe presionar โ€˜Reboot appโ€™

image

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