- Before starting, you need to install some packages.
python -m venv venv- After that, activate the virtual environment.
source venv/bin/activate- Then, install the packages.
pip install streamlitpython -m venv venvsource venv/bin/activatepip install streamlit