How to Download & Install Streamlit in Windows | streamlit is not recognized as command Error
Feb 19, 2025
Get the full source code of application here: Hi Join the official discord server to resolve doubts here: https://discord.gg/cRnjhk6nzW Visit my Online Free Media Tool Website https://freemediatools.com/ Buy Premium Scripts and Apps Here: https://procodestore.com/
View Video Transcript
0:00
[Music]
0:00
uh Hello friends welcome to this video
0:02
so in this video I will show you how to
0:05
fix this error message which typically
0:08
comes that the streamlit is not
0:10
recognized as an internal or external
0:12
command so in this video I will show you
0:14
how to fix that streamlit if you don't
0:17
know it's a python web server which
0:20
allows you to faster way to build and
0:22
share data apps so you can build out a
0:25
web application in seconds using
0:27
streamlit and to install stream it
0:30
inside the system right here so that you
0:34
can access it in the command line first
0:36
of all you need to find out where is
0:39
your python installed so there is a
0:41
where command here in Windows just type
0:44
where python and it will tell you the
0:47
exact location where your python is
0:49
being installed so I have multiple
0:52
instances of my python version installed
0:55
one version is my latest version which
0:57
is python 313 in the C directory so
1:01
wherever is your python just run this
1:04
command and it will tell you the exact
1:06
location now just open this location and
1:09
just make sure this is my latest version
1:12
uh you you copy this path here and uh
1:16
also this second path go to the script
1:18
section and also copy this path as well
1:22
whatever wherever is your python install
1:24
just copy this path and add this inside
1:27
your environment variable
1:30
right here in the system variable just
1:32
add this in the path here I've already
1:35
added it and after this all your
1:38
dependencies will be stored inside your
1:42
this script section in your python
1:45
version so in my scenario streamless is
1:49
not found so now to install this we
1:51
simply execute this command pip install
1:55
stream
1:56
lit so as you basically do this you it
1:59
will see
2:00
it will install the streamlit package
2:03
from the internet just wait for some
2:06
time to finish this command and once it
2:09
is finished streamlit will be installed
2:12
inside your
2:14
system so just wait for the command to
2:28
finish so the command is very simple pip
2:32
install streamlit just type this
2:36
command and it just takes around 20 to
2:39
25 seconds for the command to finish and
2:43
just it will do the
2:56
installation so I've already installed
2:59
it guys so once the command finishes it
3:03
will be located inside this uh scripts
3:08
folder so if you now see the command is
3:12
completed so now you can easily run
3:16
this I have this file here app.py which
3:20
is a simple python application and I'm
3:23
just running a streamlit server so this
3:26
is actually the command streamlit run
3:28
followed by your file name which is
3:31
app.py so just run this command and it
3:34
will start your development server on
3:36
Local Host
3:37
8501 this is your web application which
3:40
is running in the system so in this way
3:42
you can install streamlet and fix that
3:44
error message very simply I have shown
3:46
you step by step so thank you very much
3:49
for watching this video and also check
3:51
out my website as well free mediat
3:54
tools.com uh which contains thousands of
3:57
tools regarding audio video and image
4:00
and I will be seeing you in the next