Traceback (most recent call last):
File “/home/user/.local/bin/streamlit”, line 5, in
from streamlit.cli import main
File “/home/user/.local/lib/python3.8/site-packages/streamlit/init.py”, line 75, in
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File “/home/user/.local/lib/python3.8/site-packages/streamlit/delta_generator.py”, line 71, in
from streamlit.elements.arrow_altair import ArrowAltairMixin
File “/home/user/.local/lib/python3.8/site-packages/streamlit/elements/arrow_altair.py”, line 25, in
from altair.vegalite.v4.api import Chart
ModuleNotFoundError: No module named ‘altair.vegalite.v4’
hi @Ntabukiraniro can you please share your requirements.txt
?
streamlit
pandas
torch
requests
beautifulsoup4
transformers
altair==4.1.0
not sure the error on your space, but adding altair on the requirements.txt works for me