Spaces:
Running
🚩 Report: Not working
Runtime error
2023-07-10 22:09:43.588 INFO matplotlib.font_manager: generated new fontManager
Traceback (most recent call last):
File "/home/user/.local/bin/streamlit", line 5, in
from streamlit.web.cli import main
File "/home/user/.local/lib/python3.8/site-packages/streamlit/init.py", line 55, in
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File "/home/user/.local/lib/python3.8/site-packages/streamlit/delta_generator.py", line 45, in
from streamlit.elements.arrow_altair import ArrowAltairMixin
File "/home/user/.local/lib/python3.8/site-packages/streamlit/elements/arrow_altair.py", line 35, in
from altair.vegalite.v4.api import Chart
ModuleNotFoundError: No module named 'altair.vegalite.v4'
Container logs:
Failed to retrieve error logs: Failed to load logs: Not Found. Logs are persisted for 30 days after the Space stops running.
hi
@volster
and
@PushkarA07
,
You need to add to your requirements.txt altair<5
to solve this issue.
Here
https://discuss.huggingface.co/t/streamlit-spaces-with-modulenotfounderror-no-module-named-altair-vegalite-v4-error/39683/4 and
https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-altair-vegalite-v4/42921/6