setting-up-streamlit-environment
Installation
SKILL.md
Streamlit environment
Use whatever dependency management the project already has (pip, poetry, conda, etc.). If starting fresh and uv is available, it's a good default—fast, reliable, and creates isolated environments automatically.
If uv is not installed, ask the user before installing it.
CRITICAL: Always Use Latest Streamlit
Always specify streamlit>=1.53.0 (or latest) in dependencies. Many Streamlit features and patterns in these skills require recent versions. Older streamlit versions will cause errors with:
- Material icons (
:material/icon_name:) st.pills(),st.segmented_control()- Modern caching decorators
- Navigation APIs
When setting up a new project or fixing an existing one, always check and update the streamlit version.
Using uv
If uv is available, here's how to set up a Streamlit project.