pyinstaller not recognised, even though it is installed

82 Views Asked by At

I have pip installed pyinstaller, but when trying to build my file to an exe it says that it can't recognise pyinstaller in the command line. I am using command prompt on windows 11, for python 3 picture of the error message

Thanks in advance for the help!

I tried to use pyinstaller to turn a .py into a .exe, but it couldn't find the pyinstaller command.

Edit: thanks to John Gordon in the comments: I had not edited the PATH variable

1

There are 1 best solutions below

2
On

Open Your CMD and type this Command python -m pip install pyinstaller and then after installing run pyinstaller --version to check if it is installed or not in your system.