Open sathvikasriramula opened 3 months ago
This guide outlines two methods for setting up Streamlit on Windows:
Method 1: Standard Setup
Install Streamlit:
Run the following command to install Streamlit using pip:
pip install streamlit
Locate Streamlit Path:
To find the installation directory, run this command:
pip show streamlit
Look for the path under "Location" (e.g., C:\Users\<YourUsername>\AppData\Roaming\Python\Python39\Scripts
).
Set Up Environment Variables:
sysdm.cpl
, and press Enter. This opens the System Properties window.Verify Setup:
Open a new Command Prompt window.
Run the following command to check the Streamlit version:
streamlit --version
If successful, you should see the installed version displayed.
Method 2: Addressing the Extra Click (Windows Specific)
This method highlights the additional click required in Windows:
Install Streamlit: (Follow steps 1 and 2 from Method 1)
Set Up Environment Variables (One More Click):
sysdm.cpl
, and press Enter. This opens the System Properties window.Adding Streamlit to the Path:
Verify Setup: (Follow step 4 from Method 1)
This guide provides clear instructions with both standard and Windows-specific approaches.
please change the issue name to Setting Up Streamlit on Windows
streamlit : The term 'streamlit' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1