Type the following command in the command prompt.
pip install streamlit
Once streamlit is installed successfully, run the given python code and if you do not get an error, then streamlit is successfully installed and you can now work with it.
import streamlit as st
Navigate into the directory you installed your project in and run.
python -m streamlit run app.py
The correct run will be displayed like: