Hi team,
Were there any recent changes in how poetry install is handled?
I’ve got an app, which used to work for past several months, and recently it stopped working.
Logs:
[14:46:36] 🐍 Python dependencies were installed from /mount/src/music/pyproject.toml using poetry.
Check if streamlit is installed
Streamlit is already installed
[14:46:37] 📦 Processed dependencies!
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.
2023-07-24 14:46:57.009 Uncaught app exception
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)
File "/mount/src/music/music/dashboard/main.py", line 3, in <module>
from music.dashboard.utils.streamlit_utils import set_default_page_params
ModuleNotFoundError: No module named 'music'
2023-07-24 14:47:06.927 Uncaught app exception
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)
File "/mount/src/music/music/dashboard/pages/99_⚙️_settings.py", line 5, in <module>
from music.common.database_connection import database
ModuleNotFoundError: No module named 'music'
where music is the name of my streamlit project - which should be installed when using poetry install.