button in your Environmental Variables to add the system path for the pyinstaller.exe file. Once you find the file make sure to get its full path.Ĭlick the New. Open a instance of File Explorer and navigate to C:\Program Files\Python37\Scripts or C:\Users\USER_NAME\AppData\Roaming\Python\Python37\Scripts and look for the executable. Make sure to click on the Advanced tab in System Properties, and then click the Environment Variables button:Īdd the path for the ‘pyinstaller.exe’ to your Windows environment variables Type environment into the Windows Search bar, or just open the System Properties window in your Control Panel. Use the echo %PATH in your command line to have it return a list of all the paths for your environmental variables. Windows doesn’t know the path to the PyInstaller executable file If none of these commands work, then it probably means that the pyinstaller.exe executable file is not set in your system’s environmental variables path. Type python -m PyInstaller, pyinstaller, or PyInstaller into your Command Prompt window and press return. PyInstaller command-not-found error in Windows Python -m pip install -upgrade -user pyinstaller
0 Comments
Leave a Reply. |