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.