From 0c318f1a03c27310276f51b4309414d130769f23 Mon Sep 17 00:00:00 2001 From: mrahmansagar Date: Fri, 17 Mar 2023 11:38:08 +0100 Subject: [PATCH] added pip installation instruction before installing streamlit --- content/Day1.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/Day1.md b/content/Day1.md index 1bd1d16..ec386ae 100644 --- a/content/Day1.md +++ b/content/Day1.md @@ -26,6 +26,15 @@ To use a conda environment that we had just created that is named `stenv`, enter conda activate stenv ``` +## **Install pip inside the conda environment** + +To install `streamlit` with `pip`, it is recommended to use the pip inside the conda environment. Using global `pip` could result `streamlit` installation in a different location which can cause `streamlit` not available in the `$path` variable. To make sure `streamlit` installation inside the conda environment, run the following into the command line to install `pip`: + +```bash +conda install pip +``` +After installation you can check which `pip` is in use by running "`which pip`" in the command line. + ## **Install the Streamlit library** It's now time to install the `streamlit` library: