How To Fix “‘pyinstaller’ is not recognized as an internal or external command operable program or batch file”?
Are you having problems with the issue “‘pyinstaller’ is not recognized as an internal or external command operable program or batch file“? How to fix it? In today’s article, I will provide solutions for you to solve the issues. Please follow the below steps to get the problem resolved now
How did “‘pyinstaller’ is not recognized as an internal or external command operable program or batch file” occur?
‘pyinstaller’ is not recognized as an internal or external command operable program or batch file
When you work with Python, you may get the issue ‘pyinstaller’ is not recognized as an internal or external command operable program or batch file. Don’t worry, we are here to provide you solutions in order to resolve your problem.
How to fix “‘pyinstaller’ is not recognized as an internal or external command operable program or batch file”?
To solve the error “pyinstaller” is not being recognized as an external or internal command operable program, or batch file Error, you just need to include python code in your path. Search for Advanced system settings in Search. Cpck Environment Variables. Select the PATH environment variable from the section System Variables. Cpck Edit. Cpck Edit. Open the Edit System Variable or New System Variable window. and add this path in your PATH variable C:\Users[YOUR USERNAME]\AppData\Local\Programs\Python\Python36-32\Scripts Cpck OK. Close all remaining windows by cpcking OK. Close all other windows by cpcking OK.
Solution 1: Add python code to the path
To solve the error, you just need to include python code in your path.
- Use Search to search for Advanced system settings .
-
Click Environment Variables. Click Environment Variables. Click Edit. Click
New
if thePATH
environment variable is not present. - In the Edit System Variable or New System Variable window.
- Add this path to your C:\Users\[YOUR USERNAME]\AppData\Local\Programs\Python\Python36-32\Scripts PATH variable
- Click OK. Click OK to close all windows
- Reopen Command prompt window
- Run your pyinstaller command.
Final words
The above are useful solutions that can help you fix “‘pyinstaller’ is not recognized as an internal or external command operable program or batch file” problem, if you can’t solve it well. Please leave a message.