[Solved] pip is not recognized as an internal and external command Error
Feb 12, 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
uh Hello friends welcome to this video
0:02
so in this video I will show you how to
0:04
fix this error which comes pip is not
0:07
recognized as an internal or external
0:09
command so if you just write pip to
0:11
install third party python packages so
0:14
this is actually pip install command so
0:16
you will get this message this generally
0:19
occurs because you haven't added the
0:21
path inside the environment variable
0:23
most of the time so I'm assuming that
0:26
you have python installed on your
0:27
machine
0:28
so for this you need to basically first
0:33
of all find out where your python is
0:36
installed if you haven't install python
0:38
so the very first step will be to
0:40
install python so you can simply write
0:43
python download and click on the latest
0:45
version to install this exe file and
0:48
first of all install python so now after
0:50
you have successfully installed python
0:53
now generally python is stored inside
0:55
the C
0:56
directory by default and then you need
1:00
to go to the users directory so this is
1:03
actually the directory you need to go to
1:05
users uh whatever is your username in
1:08
the computer so my username is Asus so I
1:10
will go into this username folder and
1:14
then inside this you need to go to the
1:16
app data folder app data so this folder
1:19
is hidden by default so it will appear
1:21
like this app data you need to go into
1:24
this folder and then inside this you
1:26
need to go to the local folder so inside
1:29
the local folder you you need to go to
1:30
it and then you need to go to programs
1:33
local so just search for the programs
1:36
folder so this is actually the folder
1:38
here you can see that programs and after
1:42
that you will see a python folder right
1:47
here so just search
1:50
for python so you can see that this is
1:54
actually the python
1:56
folder and just go to this folder here
2:00
and after that you will actually see
2:03
which python versions are installed on
2:05
your computer so I have python 3.9 and
2:08
python
2:09
3.12 so whatever python version you want
2:12
to access you will go to this I will say
2:15
python 3.12 which is my default python
2:18
version and here inside this you need to
2:22
copy this full path so right click and
2:25
copy this full path
2:27
so and then go to your environment
2:31
variables and go to this environment
2:34
variable and not the user path not this
2:38
path go to the system variable and here
2:41
you will see the path here and simply
2:44
select the path and click on this added
2:46
button and click on this new Option new
2:49
button right here so add a new entry and
2:52
paste this
2:54
path so this is only helpful for
2:58
accessing python in the terminal so if
2:59
if you click on okay okay still the PIP
3:02
command will not work only the python
3:05
version will work you just need to
3:07
restart the terminal so if I print out
3:10
the python d-h version so the python
3:12
command will definitely work but if I
3:15
still write pip command it will still
3:17
not work and for the PIP command here
3:21
what you need to do after that there
3:23
will be a scripts folder so you need to
3:25
go to this folder scripts folder and
3:27
just copy this path as well so this is
3:29
for the pip command so now if you copy
3:31
this again you need to repeat the same
3:34
process go to your environment variables
3:36
and then go to system path
3:38
variable and then add this as well so
3:41
simply paste it the full path that's all
3:45
so after you do this again restart the
3:47
terminal so this time if you write pip
3:52
you will see the command will be
3:53
successful so in this way you can access
3:56
or you can fix that error message so
4:00
need to add both the parts the python
4:02
part slash the scripts as well so just
4:05
follow the step by-step instruction that
4:07
I showed you and you will be able to fix
4:09
that error so thank you very much guys
4:12
for watching this video and also check
4:14
out my tool website which is a free
4:16
tools website free mediat tools.com
4:18
which contains unlimited tools regarding
4:21
audio video and image and I will be
4:23
seeing you in the next video
#Software