How to Install Streamlit on Ubuntu Using the Pip

Published: 24 January 2024
on channel: MivoCloud
773
46

Streamlit is the open-source Python library that helps web developers in creating new applications quickly. Not only a simple Python script is converted to the web application by using Streamlit but also widgets and dashboards can be added to the application.

In this video i will show you how to install Streamlit on your server.

Useful Links:
VPS/VDS - https://www.mivocloud.com/

WARNING - ANGLED BRACKETS AREN'T ALLOWED IN DESCRIPTION SO BE ATTENTIVE TO THE VIDEO IN NANO EDITOR

Commands Used:
sudo apt update && apt upgrade -y
sudo apt install python3-pip -y
pip --version
pip install streamlit
nano myFirst_Application.py

import streamlit as st
#Name the Application's Title
st.title("First Application Using the Streamlit")

#Add side bar options
option = st.sidebar.selectbox("Select an option:", ["Option 1", "Option 2", "Option 3"])

To display text
st.write(f"You selected: {option}")

streamlit run myFirst_Application.py


Watch video How to Install Streamlit on Ubuntu Using the Pip online without registration, duration hours minute second in high quality. This video was added by user MivoCloud 24 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 773 once and liked it 46 people.