thanks @whitphx To solve the streamlit altair issue add to your requirements.txt altair<5
altair<5
here is a functional example