How to install pip and streamlit on Ubuntu 22.04?

Is pip installed correctly ?

I am new to Streamlit and I would like to manage the directories for learning and making (real) projects as follows:

Screenshot from 2022-12-08 14-15-46

Directory Learning is for practicing from various tutorials.
Directory Project is for my future apps.

I was so confused on how to Create a new environment with Streamlit.

Is it a must to do
pipenv shell
and
pip install stremlit
recpectively and in what directories should I do these 2 command lines in ?

Create a virtual environment called β€œvenv”
python -m venv venv

Activate the environment so you can install libraries without affecting system libraries
source venv/bin/activate

Install streamlit
pip install streamlit

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.