Closed andy3278 closed 1 year ago
When I import streamlit ModuleNotFoundError: No module named 'altair.vegalite.v4' occurred, I found the following solution by Streamlit Team. https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-altair-vegalite-v4/42921/12 there were breaking changes in Altair 5 for Community Cloud.
In the short term, the best solution would be to: Either: pin altair < 5 or upgrade streamlit to >=1.20.0
Agreed! Had the same issue. This helped. (Used python 3.10.10 version)
Had the same issue
When I import streamlit ModuleNotFoundError: No module named 'altair.vegalite.v4' occurred, I found the following solution by Streamlit Team. https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-altair-vegalite-v4/42921/12 there were breaking changes in Altair 5 for Community Cloud.
In the short term, the best solution would be to: Either: pin altair < 5 or upgrade streamlit to >=1.20.0