PS F:\Hussain Phoopha Laptop data\VU - MCS\CS619\Final Application> pyinstaller --onefile POSFinal.py
pyinstaller : The term ‘pyinstaller’ is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
If you are on a Windows machine, the pyinstaller command is likely not on your system’s enviornment path. Windows does not know where the actual pyinstaller executable is to run the command above.
Assuming you are using a global Python environment, and that is where you have installed the pyinstaller module, you could do something like this in the short-term: python -m pyinstaller --onefile POSFinal.py
The -m flag tells Python you want to run a module directly. It is a way to sidestep some Path issues in a system. Python virtual environments may help you manage some of these path issues:
If you are indeed on Windows, you may need to update your Windows environment variables.