Why am I keep getting this error and my requirements looks right
Traceback (most recent call last):File “/home/user/.local/bin/streamlit”, line 5, infrom streamlit.cli import mainFile “/home/user/.local/lib/python3.8/site-packages/streamlit/init.py”, line 75, infrom streamlit.delta_generator import DeltaGenerator as _DeltaGeneratorFile “/home/user/.local/lib/python3.8/site-packages/streamlit/delta_generator.py”, line 71, infrom streamlit.elements.arrow_altair import ArrowAltairMixinFile “/home/user/.local/lib/python3.8/site-packages/streamlit/elements/arrow_altair.py”, line 25, infrom altair.vegalite.v4.api import ChartModuleNotFoundError: No module named ‘altair.vegalite.v4’
2023-05-20T02:38:10Z
hi@Ntabukiranirocan you please share yourrequirements.txt?
2023-05-20T09:29:43Z
streamlitpandastorchrequestsbeautifulsoup4transformersaltair==4.1.0
2023-05-20T16:55:46Z
not sure the error on your space, but adding altair on the requirements.txt works for mehuggingface.coTest Streamlit Altair - a Hugging Face Space by radamesDiscover amazing ML apps made by the community