uh hello guys welcome to this video so
in this video I will show you how to fix
this error message when it comes to
compiling your python files into exe by
the this software P installer so it's a
third party python package which allows
you to compile your python files to exe
files so that you can run it inside your
Windows machine so if you are seeing
this message that P installer is not
recognized as an internal or external
command so this means you haven't
installed python oh sorry Pi installer
so I'm assuming that you have the latest
version of python so if you don't have
python just install
it and I have the latest version which
is
3.13.1 and uh if you just want to search
for the location where python is
stored just search for Python and
just inside you
can open the file
location so
so the command is simple if you have
python installed just say pip install P
installer so as soon as you install this
by executing this command Pi installer
will be
installed you can see it is collecting
it and downloading it so once it is
installed you will see this message
appearing successfully installed and now
you can actually run this command by Pi
installer one file and the name of the
file which is app.py so this will
convert this app.py file into an EXC
file and
uh just after you I think after you
install it you just need to restart your
terminal so
that yeah so if you are again seeing
this message one thing you can do that
you can
actually go to the folder here let me
just tell you the folder here you need
to go to is this folder yeah so wherever
your python is installed
uh
just if you just go here you will see
this file here P
installer
installer yeah so if you see here
I so once you install this package you
will see this file
so if you try
to open this path here and try to run
this command by installer you'll see the
command will be successful so this is
the complete path C users then your
username app data local programs
python
so this is the two versions that I
installed of python this is the version
that I'm working on and here you need to
go to this script section so whatever is
your third party modules will be located
right here so all the third party
modules you install so you just need to
make sure that you copy this path
complete path and add this as a
environment variable so just go to it go
to the system variable and just go to
the path and I have already added all
these this is your Python and The Python
scripts just add this into your system P
path variable just make sure that you
add this
and once again if you
open you will see now the command will
perfectly
work so P installer one file and then
app.py so it will the command will work
it will convert this into a exe file in
the test folder so in this way you can
troubleshoot and config this message by
installer is not recognized you can
install it and I showed you all the
steps just just follow it and your
problem will be solved so also check out
my website as well free mediat tools.com
uh which contains thousands of tools
regarding audio video and image and I
will be seeing you in the next video